Logger.log

This method logs data with the LogLevel of the used Logger.

This method takes a bool as first argument. In order for the data to be processed the bool must be true and the LogLevel of the Logger must be greater or equal to the global LogLevel.

Parameters

args A

The data that should be logged.

condition bool

The condition must be true for the data to be logged.

args A

The data that is to be logged.

Return Value

Type: void

The logger used by the logging function as reference.

Examples

auto l = new StdioLogger();
l.log(1337);

Meta

Suggestion Box / Bug Report