log

This function logs data.

In order for the data to be processed, the LogLevel of the log call must be greater or equal to the LogLevel of the sharedLog and the defaultLogLevel; additionally the condition passed must be true.

Parameters

ll LogLevel

The LogLevel used by this log call.

condition bool

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

args A

The data that should be logged.

Examples

log(LogLevel.warning, true, "Hello World", 3.1415);

Meta