Class LogEvent
Encapsulates the log level, id and message.
Inherited Members
Namespace: Silverback.Diagnostics
Assembly: Silverback.Core.dll
Syntax
public class LogEvent
Constructors
| Improve this doc View sourceLogEvent(LogLevel, EventId, string)
Initializes a new instance of the Log
Declaration
public LogEvent(LogLevel level, EventId eventId, string message)
Parameters
Type | Name | Description |
---|---|---|
Log |
level | The default Log |
Event |
eventId | The Event |
string | message | The logged message. |
Properties
| Improve this doc View sourceEventId
Gets the Event
Declaration
public EventId EventId { get; }
Property Value
Type | Description |
---|---|
Event |
Level
Gets the default Log
Declaration
public LogLevel Level { get; }
Property Value
Type | Description |
---|---|
Log |
Message
Gets the logged message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
string |