level property

LogLevel get level

Returns the level set for this logger. If the level is not set, it will return the defaultLogLevel for the system.

Implementation

LogLevel get level {
  return _level ?? defaultLogLevel;
}
set level (LogLevel value)

Override the level for this particular Logger.

Implementation

set level(LogLevel value) {
  _level = value;
}