LogEntry constructor

const LogEntry({
  1. required DateTime timestamp,
  2. required LogLevel level,
  3. required String message,
  4. String? category,
  5. Map<String, dynamic>? metadata,
  6. Object? error,
  7. StackTrace? stackTrace,
  8. String? operationId,
  9. Duration? duration,
})

Implementation

const LogEntry({
  required this.timestamp,
  required this.level,
  required this.message,
  this.category,
  this.metadata,
  this.error,
  this.stackTrace,
  this.operationId,
  this.duration,
});