Class LogEntry
- Namespace
- FishMMO.Logging
- Assembly
- FishMMO-Logger.dll
Represents a single log entry with structured information.
public class LogEntry
- Inheritance
-
LogEntry
- Inherited Members
Constructors
LogEntry(LogLevel, string, string, Exception, Dictionary<string, object>)
public LogEntry(LogLevel level, string source, string message, Exception exception = null, Dictionary<string, object> data = null)
Parameters
Properties
Data
public Dictionary<string, object> Data { get; set; }
Property Value
ExceptionDetails
public string ExceptionDetails { get; set; }
Property Value
Level
public LogLevel Level { get; set; }
Property Value
Message
public string Message { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
Timestamp
public DateTime Timestamp { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.