Package log

Functions

i

Print information message to the log

Parameters

NameOptionalDescription
FormatNoFormat string to be printed
...valuesYesAll format values to be applied

Example

log.i("The number is: %d", 2)

e

Print error message to the log

Parameters

NameOptionalDescription
FormatNoFormat string to be printed
...valuesYesAll format values to be applied

Example

log.e("An unexpected error")

d

Print debug message to the log

Parameters

NameOptionalDescription
FormatNoFormat string to be printed
...valuesYesAll format values to be applied

Example

log.d("The value %d is not %s", 3, "4")