LogEntry constructor

LogEntry({
  1. required String logName,
  2. required MonitoredResource? resource,
  3. Any? protoPayload,
  4. String? textPayload,
  5. Struct? jsonPayload,
  6. Timestamp? timestamp,
  7. Timestamp? receiveTimestamp,
  8. LogSeverity severity = logging_type.LogSeverity.$default,
  9. String insertId = '',
  10. HttpRequest? httpRequest,
  11. Map<String, String> labels = const {},
  12. LogEntryOperation? operation,
  13. String trace = '',
  14. String spanId = '',
  15. bool traceSampled = false,
  16. LogEntrySourceLocation? sourceLocation,
  17. LogSplit? split,
})

Implementation

LogEntry({
  required this.logName,
  required this.resource,
  this.protoPayload,
  this.textPayload,
  this.jsonPayload,
  this.timestamp,
  this.receiveTimestamp,
  this.severity = logging_type.LogSeverity.$default,
  this.insertId = '',
  this.httpRequest,
  this.labels = const {},
  this.operation,
  this.trace = '',
  this.spanId = '',
  this.traceSampled = false,
  this.sourceLocation,
  this.split,
}) : super(fullyQualifiedName);