Skip to content

[I] Logger

Filters and forwards log messages to a sink. Logging warnings or errors does not report program diagnostics or change compilation success.

error(message): void;

Logs an error without a code or a program diagnostic.

ParameterType
messagestring

void


log(log): void;

Filters by severity, resolves the optional target, and forwards the entry to the sink.

ParameterType
logLogInfo

void


trace(message): void;

Logs a trace message without a code, subject to the configured minimum log level.

ParameterType
messagestring

void


warn(message): void;

Logs a warning without a code or a program diagnostic.

ParameterType
messagestring

void