UserIO.log

Logs the given output to the console, as long as level is >= the configured minimum log level.

Configuration: If UserIOConfigBuilder.useColouredText (see UserIO.configure) is set to true, then the text will be coloured according to its log level.

trace - gray; info - default; warning - yellow; error - red; critical & fatal - bright red.

If level is lower than UserIOConfigBuilder.useMinimumLogLevel, then no output is logged.

class UserIO
static
void
log
(
const char[] output
,
LogLevel level
)

Parameters

output char[]

The output to display.

level LogLevel

The log level of this log.

Meta