LogEntry constructor
LogEntry({})
Implementation
LogEntry({
required this.level,
required this.message,
this.tag = 'default',
this.source = LogSource.custom,
DateTime? timestamp,
this.stackTrace,
this.error,
Map<String, dynamic>? extra,
this.threadId,
this.suppressConsole = false,
this.seq = 0,
}) : extra = extra == null ? null : Map<String, dynamic>.unmodifiable(extra),
timestamp = timestamp ?? DateTime.now();