Skip to content
Type

LoggingEvents ​

The events emitted by Logging. Each event carries the same arguments that were passed to the corresponding log call.

ts
type LoggingEvents = {
	error: unknown[];
	warn: unknown[];
	info: unknown[];
};

Used by ​

Properties ​

error ​

ts
error: unknown[];

Emitted before an error is logged.

warn ​

ts
warn: unknown[];

Emitted before a warning is logged.

info ​

ts
info: unknown[];

Emitted before an informational message is logged.

Released under the Mozilla Public License 2.0.