acta library

Classes

ActaJournal
Central event and error journal for Acta.
BaseEvent
Base implementation of Event.
ConsoleReporter
Reporter that outputs events to the console.
ElasticsearchReporter
Reporter that sends events to an Elasticsearch backend.
ErrorEvent
Implementation of ErrorEvent extends BaseEvent
Event
Abstraction of event, could be extended as BaseEvent and ErrorEvent
Fingerprintable
HandlerOptions
Configuration options for the event handler.
LocalDbReporter
Reporter that stores events locally using a Hive Box.
MongoReporter
Reporter that sends events to a MongoDB database.
Reporter
Abstraction of reporter, could be extended as ConsoleReporter
ReporterFactory
SeverityAware
Taggable

Enums

Severity
Represents the severity level of an event or error.

Extensions

PreloadExtensions on Event
SeverityMapper on Severity
Extension for mapping Severity to and from string values.

Typedefs

BeforeSend = FutureOr<Event?> Function(Event event)
Signature for a hook that runs before an Event is sent. Can modify, filter, or drop the event by returning a new event or null. If null is returned, the event will not be sent.
OnCaptured = void Function(Event? event)
Callback triggered when an event is captured. Receives the captured Event, or null if none.