ConsoleLogListener Class
Namespace: Stride.Core.DiagnosticsAssembly: Stride.Core.dll
A LogListener implementation redirecting its output to the default OS console. If console is not supported message are output to System.Diagnostics.Debug
Derived from ConsoleLogListener:
public class ConsoleLogListener : LogListener, IDisposable
Name | Description | |
---|---|---|
Properties | ||
LogLevel | Gets or sets the minimum log level handled by this listener. |
|
LogMode | Gets or sets the log mode. |
|
Methods | ||
HideConsole() | ||
OnLog(ILogMessage) | ||
ShowConsole() |
Properties
LogLevel
Gets or sets the minimum log level handled by this listener.
public LogMessageType LogLevel { get; set; }
Property Value
Type | Description |
---|---|
LogMessageType | The minimum log level. |
LogMode
Gets or sets the log mode.
public ConsoleLogMode LogMode { get; set; }
Property Value
Type | Description |
---|---|
ConsoleLogMode | The log mode. |
Methods
HideConsole()
public static void HideConsole()
OnLog(ILogMessage)
protected override void OnLog(ILogMessage logMessage)
Parameters
Type | Name | Description |
---|---|---|
ILogMessage | logMessage |
Overrides
ShowConsole()
public static void ShowConsole()