RFC5424LoggingMixin

Hierarchy

Index

Methods

Methods

alert

▸ alert(entry: string | LogEntry, ...args: any[]): void

Logs action must be taken immediately.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


crit

▸ crit(entry: string | LogEntry, ...args: any[]): void

Logs critical conditions.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


debug

▸ debug(entry: string | LogEntry, ...args: any[]): void

Logs debug-level messages.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


emerg

▸ emerg(entry: string | LogEntry, ...args: any[]): void

Logs emergency system is unusable.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


error

▸ error(entry: string | LogEntry, ...args: any[]): void

Logs error conditions.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


info

▸ info(entry: string | LogEntry, ...args: any[]): void

Logs informational messages.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


log

▸ log(entry: string | LogEntry, ...args: any[]): void

[PLACEHOLDER]: Logs message for level.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


notice

▸ notice(entry: string | LogEntry, ...args: any[]): void

Logs normal but significant condition.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void


warning

▸ warning(entry: string | LogEntry, ...args: any[]): void

Logs warning conditions.

Parameters:

NameTypeDescription
entrystring | LogEntryLogging entry as a string or loggable.
...argsany[]Any other arguments that will be attached to log entry.

Returns: void