SyncLoggerDebugConfig constructor

const SyncLoggerDebugConfig({
  1. SyncLogDebugLevel minLevel = SyncLogDebugLevel.info,
  2. bool enableConsoleOutput = true,
  3. bool enableFileOutput = false,
  4. bool enableRemoteLogging = false,
  5. int maxLogEntries = 1000,
  6. Duration logRetentionPeriod = const Duration(days: 7),
  7. List<String> sensitiveFields = const ['password', 'token', 'secret', 'key'],
  8. bool enableStackTrace = false,
  9. String? logFilePath,
  10. String? remoteEndpoint,
})

Implementation

const SyncLoggerDebugConfig({
  this.minLevel = SyncLogDebugLevel.info,
  this.enableConsoleOutput = true,
  this.enableFileOutput = false,
  this.enableRemoteLogging = false,
  this.maxLogEntries = 1000,
  this.logRetentionPeriod = const Duration(days: 7),
  this.sensitiveFields = const ['password', 'token', 'secret', 'key'],
  this.enableStackTrace = false,
  this.logFilePath,
  this.remoteEndpoint,
});