NewRelicLogEvent constructor
NewRelicLogEvent({})
Constructs a NewRelicLogEvent.
eventName - The name of the event (required)
eventMessage - Optional message describing the event
parameters - Optional parameters associated with the event
attributes - Optional custom attributes
entityName - Optional entity name (application name)
entityType - Optional entity type
host - Optional host identifier
environment - Optional environment name
traceId - Optional trace ID for distributed tracing
spanId - Optional span ID for distributed tracing
Implementation
NewRelicLogEvent({
required super.eventName,
super.eventMessage,
super.parameters,
this.attributes,
this.entityName,
this.entityType,
this.host,
this.environment,
this.traceId,
this.spanId,
});