NewRelicLogEvent.fromLogEvent constructor
NewRelicLogEvent.fromLogEvent(})
Creates a NewRelicLogEvent from a base LogEvent
Implementation
factory NewRelicLogEvent.fromLogEvent(
LogEvent event, {
Map<String, dynamic>? attributes,
String? entityName,
String? entityType,
String? host,
String? environment,
String? traceId,
String? spanId,
}) {
return NewRelicLogEvent(
eventName: event.eventName,
eventMessage: event.eventMessage,
parameters: event.parameters,
attributes: attributes,
entityName: entityName,
entityType: entityType,
host: host,
environment: environment,
traceId: traceId,
spanId: spanId,
);
}