LogEntry constructor
LogEntry({
- required String logName,
- required MonitoredResource? resource,
- Any? protoPayload,
- String? textPayload,
- Struct? jsonPayload,
- Timestamp? timestamp,
- Timestamp? receiveTimestamp,
- LogSeverity severity = logging_type.LogSeverity.$default,
- String insertId = '',
- HttpRequest? httpRequest,
- Map<
String, String> labels = const {}, - LogEntryOperation? operation,
- String trace = '',
- String spanId = '',
- bool traceSampled = false,
- LogEntrySourceLocation? sourceLocation,
- 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);