DatadogLogEvent constructor

DatadogLogEvent({
  1. required String eventName,
  2. String? eventMessage,
  3. Map<String, Object>? parameters = const {},
  4. List<String>? tags,
  5. String? source,
  6. String? host,
  7. String? service,
  8. String? env,
  9. String? traceId,
  10. String? spanId,
  11. Map<String, dynamic>? attributes,
})

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,
});