level property

Level level

Effective level considering the levels established in this logger's parents (when hierarchicalLoggingEnabled is true).


Level get level {
  if (hierarchicalLoggingEnabled) {
    if (_level != null) return _level;
    if (parent != null) return parent.level;
  return _rootLevel;
void level= (Level value)

Override the level for this particular Logger and its children.


set level(Level value) {
  if (hierarchicalLoggingEnabled && parent != null) {
    _level = value;
  } else {
    if (parent != null) {
      throw new UnsupportedError(
          'Please set "hierarchicalLoggingEnabled" to true if you want to '
          'change the level on a non-root logger.');
    _rootLevel = value;