Log.critical

This function logs args to stdout In order for the resulting log message to appear LogLevel must be greater or equal then globalLogLevel When using log!LogLevel.off or message it'll be displayed no matter the level of globalLogLevel

struct Log
void
critical
(
int line = __LINE__
string file = __FILE__
S...
)
()

Parameters

args S

Data that should be logged

Examples

trace(true, " is true bool");
info(true, " is true bool");
warning(true, " is true bool");
error(true, " is true bool");
critical(true, " is true bool");
fatal(true, " is true bool");
log(true, " is true bool");
log!(LogLevel.error)(true, " is true bool");
log!(LogLevel.warning)(true, " is true bool");

Meta