LoggerConfig constructor

const LoggerConfig({
  1. String logPath = DatabaseFilePaths.logPath,
  2. LogLevel minLevel = LogLevel.info,
  3. bool enableConsoleOutput = false,
})

Creates a new logger configuration.

  • logPath: Path to the log file (defaults to DatabaseFilePaths.logPath)
  • minLevel: Minimum log level (defaults to LogLevel.info)
  • enableConsoleOutput: Whether to print to console (defaults to false)

Implementation

const LoggerConfig({
  this.logPath = DatabaseFilePaths.logPath,
  this.minLevel = LogLevel.info,
  this.enableConsoleOutput = false,
});