Functions of ballerina.utils.logger package
function debug(string msg)
Logs the specified message at the debug level.
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
msg | string | The message to be logged. |
function error(string msg)
Logs the specified message at the error level.
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
msg | string | The message to be logged. |
function info(string msg)
Logs the specified message at the info level.
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
msg | string | The message to be logged. |
function trace(string msg)
Logs the specified message at the trace level.
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
msg | string | The message to be logged. |
function warn(string msg)
Logs the specified message at the warn level.
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
msg | string | The message to be logged. |