SyncLoggerDebugConfig constructor
const
SyncLoggerDebugConfig({
- SyncLogDebugLevel minLevel = SyncLogDebugLevel.info,
- bool enableConsoleOutput = true,
- bool enableFileOutput = false,
- bool enableRemoteLogging = false,
- int maxLogEntries = 1000,
- Duration logRetentionPeriod = const Duration(days: 7),
- List<
String> sensitiveFields = const ['password', 'token', 'secret', 'key'], - bool enableStackTrace = false,
- String? logFilePath,
- 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,
});