LoggerConfig constructor

const LoggerConfig({
  1. bool enabled = true,
  2. LogLevel minLevel = LogLevel.verbose,
  3. bool showTimestamp = true,
  4. bool showLevel = true,
  5. bool showLocation = false,
  6. bool showStackTrace = true,
  7. bool prettyJson = true,
  8. int maxLength = 0,
  9. void customHandler(
    1. LogLevel level,
    2. String message, {
    3. String? tag,
    })?,
})

Implementation

const LoggerConfig({
  this.enabled = true,
  this.minLevel = LogLevel.verbose,
  this.showTimestamp = true,
  this.showLevel = true,
  this.showLocation = false,
  this.showStackTrace = true,
  this.prettyJson = true,
  this.maxLength = 0,
  this.customHandler,
});