LogEntry constructor

const LogEntry({
  1. required DateTime timestamp,
  2. required LogLevel level,
  3. required String message,
  4. String? tag,
  5. Object? error,
  6. StackTrace? stackTrace,
  7. Map<String, dynamic> context = const <String, dynamic>{},
  8. String? loggerName,
})

Implementation

const LogEntry({
  required this.timestamp,
  required this.level,
  required this.message,
  this.tag,
  this.error,
  this.stackTrace,
  this.context = const <String, dynamic>{},
  this.loggerName,
});