TimestampLocalLogger Class
Namespace: Stride.Core.DiagnosticsAssembly: Stride.Core.dll
A logger that stores messages locally with their timestamp, useful for internal log scenarios.
Derived from TimestampLocalLogger:
public class TimestampLocalLogger : Logger, ILogger
Name | Description | |
---|---|---|
Constructors | ||
TimestampLocalLogger(DateTime, String) | Initializes a new instance of the TimestampLocalLogger class. |
|
Properties | ||
Messages | Gets the messages logged to this instance. |
|
Methods | ||
LogRaw(ILogMessage) |
Constructors
TimestampLocalLogger(DateTime, String)
Initializes a new instance of the TimestampLocalLogger class.
public TimestampLocalLogger(DateTime startTime, string moduleName = null)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | startTime | |
System.String | moduleName |
Properties
Messages
Gets the messages logged to this instance.
public List<TimestampLocalLogger.Message> Messages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TimestampLocalLogger.Message> | The messages. |
Methods
LogRaw(ILogMessage)
protected override void LogRaw(ILogMessage logMessage)
Parameters
Type | Name | Description |
---|---|---|
ILogMessage | logMessage |