LogEntry constructor

const LogEntry({
  1. required String id,
  2. required DateTime timestamp,
  3. required String message,
  4. required LogLevel level,
  5. String? category,
  6. String? tag,
  7. Map<String, dynamic>? metadata,
  8. Object? error,
  9. String? stackTrace,
  10. String? userId,
  11. String? sessionId,
})

Implementation

const LogEntry({
  required this.id,
  required this.timestamp,
  required this.message,
  required this.level,
  this.category,
  this.tag,
  this.metadata,
  this.error,
  this.stackTrace,
  this.userId,
  this.sessionId,
});