Skip to content

console_colors

warn

warn = ( ...args: any )

Logs a warning message to the console. The message is prefixed with a yellow WARN label in magenta background.

Parameters

Name Type Description
args ...any The arguments to log to the console.

Returns: {void}


info

info = ( ...args: any )

Logs an info message to the console. The message is prefixed with a blue INFO label in cyan background.

Parameters

Name Type Description
args ...any The arguments to log to the console.

Returns: ``


error

error = ( ...args: any )

Logs an error message to the console. The message is prefixed with a red ERR label in white background.

Parameters

Name Type Description
args ...any The arguments to log to the console.

Returns: ``


critical

critical = ( ...args: any )

Logs a critical error message to the console. The message is completely written in white on red background.

Parameters

Name Type Description
args ...any The arguments to log to the console.

Returns: ``