BufferedLogRecordImpl constructor

BufferedLogRecordImpl({
  1. required DateTime timestamp,
  2. required LogLevel logLevel,
  3. required EventId eventId,
  4. String? exception,
  5. String? activitySpanId,
  6. String? activityTraceId,
  7. String? formattedMessage,
  8. String? messageTemplate,
  9. List<MapEntry<String, Object?>>? attributes,
})

Creates a new instance of BufferedLogRecordImpl.

Implementation

BufferedLogRecordImpl({
  required this.timestamp,
  required this.logLevel,
  required this.eventId,
  this.exception,
  this.activitySpanId,
  this.activityTraceId,
  this.formattedMessage,
  this.messageTemplate,
  List<MapEntry<String, Object?>>? attributes,
}) : attributes = attributes ?? [];