Seal + Docs
This commit is contained in:
parent
332b6172ae
commit
7c1ff06fa5
3 changed files with 47 additions and 22 deletions
|
|
@ -2,11 +2,32 @@
|
|||
|
||||
public class LogEntry
|
||||
{
|
||||
internal LogEntry() { }
|
||||
|
||||
internal string RawMessage { get; set; }
|
||||
|
||||
public DateTime TimeOfEvent { get; set; }
|
||||
public CustomLogLevel LogLevel { get; set; }
|
||||
public string Message { get; set; }
|
||||
public object[] Args { get; set; }
|
||||
public Exception? Exception { get; set; }
|
||||
/// <summary>
|
||||
/// The time of the event.
|
||||
/// </summary>
|
||||
public DateTime TimeOfEvent { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// The severity of the event.
|
||||
/// </summary>
|
||||
public CustomLogLevel LogLevel { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// The message describing the event.
|
||||
/// </summary>
|
||||
public string Message { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Any objects involved in creating the event message.
|
||||
/// </summary>
|
||||
public object[] Args { get; internal set; } = Array.Empty<object>();
|
||||
|
||||
/// <summary>
|
||||
/// The exception that's been caused.
|
||||
/// </summary>
|
||||
public Exception? Exception { get; internal set; }
|
||||
}
|
||||
Reference in a new issue