canLog method

bool canLog(
  1. Level level
)

Implementation

bool canLog(Level level) => this.level == level || this.level == Level.DEBUG;