enableWarnLogging static method

void enableWarnLogging()

Sets the current log level to warn.

This enables logging of warn, error, and fatal levels.

Implementation

static void enableWarnLogging() {
  currentLevel = LogLevel.warn;
}