Partager via


ILogger interface

An abstraction that provides a sink for diagnostic messages.

Methods

log(LogLevel, string)

Called by the framework to emit a diagnostic message.

Method Details

log(LogLevel, string)

Called by the framework to emit a diagnostic message.

function log(logLevel: LogLevel, message: string)

Parameters

logLevel
LogLevel

The severity level of the message.

message

string

The message.