Table of Contents

Class ConsoleLogListener

Namespace
Stride.Core.Diagnostics
Assembly
Stride.Core.dll

A LogListener implementation redirecting its output to the default OS console. If console is not supported message are output to Debug

public class ConsoleLogListener : LogListener, IDisposable
Inheritance
ConsoleLogListener
Implements
Inherited Members
Extension Methods

Properties

LogLevel

Gets or sets the minimum log level handled by this listener.

public LogMessageType LogLevel { get; set; }

Property Value

LogMessageType

The minimum log level.

LogMode

Gets or sets the log mode.

public ConsoleLogMode LogMode { get; set; }

Property Value

ConsoleLogMode

The log mode.

Methods

HideConsole()

public static void HideConsole()

OnLog(ILogMessage)

Called when a log occurred.

protected override void OnLog(ILogMessage logMessage)

Parameters

logMessage ILogMessage

The log message.

ShowConsole()

public static void ShowConsole()