level property

int level
getter/setter pair

Used to store the current severity level of the Log instances. Default level is debug.

If level is set to off, no log will print from any instance. Otherwise logs will be printed which has the provided severity level or higher.

Severity level from higher to lower can be ordered as follows

Implementation

static int level = debug;