Logging utils
Logging
The logger object is the main object for logging functions.
logger.trace(…msg)
Creates TRACE level logging messages. It concatenates msg parameters to compound message to be logged.
Returns: void
| Param | Type | Description |
|---|---|---|
| msg | string | list of elements to be concatenated to generate the string message to be printed. |
Example of use:
logger.debug(…msg)
Creates DEBUG level logging messages. It concatenates msg parameters to compound message to be logged.
Returns: void
| Param | Type | Description |
|---|---|---|
| msg | string | list of elements to be concatenated to generate the string message to be printed. |
Example of use:
logger.info(…msg)
Creates INFO level logging messages. It concatenates msg parameters to compound message to be logged.
Returns: void
| Param | Type | Description |
|---|---|---|
| msg | string | list of elements to be concatenated to generate the string message to be printed. |
Example of use:
logger.warn(…msg)
Creates WARN level logging messages. It concatenates msg parameters to compound message to be logged.
Returns: void
| Param | Type | Description |
|---|---|---|
| msg | string | list of elements to be concatenated to generate the string message to be printed. |
Example of use:
logger.error(…msg)
Creates ERROR level logging messages. It concatenates msg parameters to compound message to be logged.
Returns: void
| Param | Type | Description |
|---|---|---|
| msg | string | list of elements to be concatenated to generate the string message to be printed. |
Example of use: