SentryLogEvent constructor

SentryLogEvent({
  1. String? stackTrace,
  2. required String eventName,
  3. String? eventMessage,
  4. Map<String, dynamic> parameters = const {},
})

Constructs a SentryLogEvent with optional stack trace and required event attributes.

stackTrace - A string representing the stack trace associated with the error. eventName - A name describing the type of event. eventMessage - A message providing additional details about the event. parameters - A map containing additional data that should be logged with the event.

Implementation

SentryLogEvent({
  this.stackTrace,
  required super.eventName,
  super.eventMessage,
  super.parameters,
});