NewRelicLogEvent constructor

NewRelicLogEvent({
  1. required String eventName,
  2. String? eventMessage,
  3. Map<String, Object>? parameters = const {},
  4. Map<String, dynamic>? attributes,
  5. String? entityName,
  6. String? entityType,
  7. String? host,
  8. String? environment,
  9. String? traceId,
  10. String? spanId,
})

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