LoggingConfig constructor

const LoggingConfig({
  1. bool enablePrettyLogs = true,
  2. bool showEmojis = true,
  3. bool showTimestamp = true,
  4. bool showColors = true,
  5. bool showBorders = true,
  6. bool showMetadata = true,
  7. int lineLength = 120,
  8. LogLevel minimumLevel = LogLevel.verbose,
  9. bool enabled = true,
  10. bool enableDevToolsJson = false,
  11. Map<LogType, LogTypeConfig> logTypeConfigs = const {},
  12. int? maxLogs,
  13. int? retentionDays,
  14. bool autoCleanup = true,
})

Implementation

const LoggingConfig({
  this.enablePrettyLogs = true,
  this.showEmojis = true,
  this.showTimestamp = true,
  this.showColors = true,
  this.showBorders = true,
  this.showMetadata = true,
  this.lineLength = 120,
  this.minimumLevel = LogLevel.verbose,
  this.enabled = true,
  this.enableDevToolsJson = false,
  this.logTypeConfigs = const {},
  this.maxLogs,
  this.retentionDays,
  this.autoCleanup = true,
});