Documentation Menu

fatal Method

Creates a log item with severity FATAL

Definition

fatal(logObject: any): Logger

Parameters

logObject String or object to be logged, or a function that returns the string or object to be logged (details).

Return Value

The Logger itself.

Examples

This creates a log message "log message" with severity FATAL.

JL().fatal("log message");