console_colors
warn
¶
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
¶
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
¶
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
¶
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: ``