DatadogLogEvent constructor
DatadogLogEvent({})
Constructs a DatadogLogEvent.
eventName - The name of the event (required)
eventMessage - Optional message describing the event
parameters - Optional parameters associated with the event
tags - Optional list of tags for categorization
source - Optional source identifier
host - Optional host identifier
service - Optional service name
env - Optional environment name
traceId - Optional trace ID for distributed tracing
spanId - Optional span ID for distributed tracing
attributes - Optional custom attributes
Implementation
DatadogLogEvent({
required super.eventName,
super.eventMessage,
super.parameters,
this.tags,
this.source,
this.host,
this.service,
this.env,
this.traceId,
this.spanId,
this.attributes,
});