LogManager constructor

LogManager({
  1. Level level = Level.ALL,
  2. bool enabledLog = true,
})

Implementation

LogManager({Level level = Level.ALL, bool enabledLog = true}) {
  // Update the logger
  LogManager.logEnabled = enabledLog;
  // Update level
  LogManager.level = level;
}