Ballerina API Documentation

Functions of ballerina.utils.logger package

function debug(string msg)

Logs the specified message at the debug level.

Parameters:

Parameter NameData TypeDescription
msgstringThe message to be logged.

function error(string msg)

Logs the specified message at the error level.

Parameters:

Parameter NameData TypeDescription
msgstringThe message to be logged.

function info(string msg)

Logs the specified message at the info level.

Parameters:

Parameter NameData TypeDescription
msgstringThe message to be logged.

function trace(string msg)

Logs the specified message at the trace level.

Parameters:

Parameter NameData TypeDescription
msgstringThe message to be logged.

function warn(string msg)

Logs the specified message at the warn level.

Parameters:

Parameter NameData TypeDescription
msgstringThe message to be logged.


Menu

  • Functions
    • debug(string msg)
    • error(string msg)
    • info(string msg)
    • trace(string msg)
    • warn(string msg)

Copyright 2017 Ballerina API Documentation