# LogEntry

Package: [Microsoft.Orleans.TestingHost](/orleans/docs/api/csharp/microsoft.orleans.testinghost/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.TestingHost) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/Logging/InMemoryLoggerProvider.cs#L332)

```csharp
public readonly struct LogEntry : IEquatable<LogEntry>
```

Represents a single log entry with its associated metadata.

## Constructors

- [LogEntry(DateTimeOffset, LogLevel, string, EventId, string, Exception?)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/constructors/constructor-system-datetimeoffset-microsoft-extensions-logging-loglevel-string-m-5056786b/)

## Properties

- [Category](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/properties/category-f6083c6d/)
- [EventId](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/properties/eventid-482fa672/)
- [Exception](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/properties/exception-1613042b/)
- [LogLevel](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/properties/loglevel-9692243c/)
- [Message](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/properties/message-cdb1b988/)
- [Timestamp](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/properties/timestamp-74bad5ea/)

## Methods

- [Deconstruct(DateTimeOffset, LogLevel, string, EventId, string, Exception?)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/methods/deconstruct-out-system-datetimeoffset-out-microsoft-extensions-logging-loglevel-af1922df/)
- [Equals(LogEntry)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/methods/equals-orleans-testinghost-logging-logentry-bcdf2972/)
- [Equals(object)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/methods/equals-object-c540e618/)
- [GetHashCode](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/methods/gethashcode-c46e8555/)
- [ToString](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/methods/tostring-b6fcd6ae/)
- [operator ==(LogEntry, LogEntry)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/methods/op-equality-orleans-testinghost-logging-logentry-orleans-testinghost-logging-log-cafd40e2/)
- [operator !=(LogEntry, LogEntry)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/methods/op-inequality-orleans-testinghost-logging-logentry-orleans-testinghost-logging-l-be759c3e/)
