# LogEntry.LogEntry(DateTimeOffset, LogLevel, string, EventId, string, Exception?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.logentry/constructors/)

```csharp
public LogEntry(DateTimeOffset Timestamp, LogLevel LogLevel, string Category, EventId EventId, string Message, Exception? Exception)
```

Represents a single log entry with its associated metadata.

### Parameters

- `Timestamp` (`DateTimeOffset`)
- `LogLevel` (`LogLevel`)
- `Category` (`string`)
- `EventId` (`EventId`)
- `Message` (`string`)
- `Exception` (`Exception?`)
