次の方法で共有


NullLogger class

A logger that does nothing when log messages are sent to it.

Properties

instance

The singleton instance of the NullLogger.

Methods

log(LogLevel, string)

Called by the framework to emit a diagnostic message.

Property Details

instance

The singleton instance of the NullLogger.

public static instance: ILogger = new NullLogger()

Property Value

Method Details

log(LogLevel, string)

Called by the framework to emit a diagnostic message.

function log(_logLevel: LogLevel, _message: string)

Parameters

_logLevel
LogLevel
_message

string