ApiErrorMonitorConfig class

Configuration for ApiErrorMonitor

Constructors

ApiErrorMonitorConfig({required String appName, String? discordWebhookUrl, bool enableInDebugMode = false, bool enableLocalLogging = true, String? customLogDirectory, int maxRetries = 3, Duration retryDelay = const Duration(seconds: 5), bool enabled = true})

Properties

appName → String
Name of the app using the package
final
customLogDirectory → String?
Custom directory for local logs
final
discordWebhookUrl → String?
Discord webhook URL for reporting errors
final
enabled → bool
Enable/disable reporting
final
enableInDebugMode → bool
Enable/disable sending reports in debug mode
final
enableLocalLogging → bool
Enable/disable local file logging
final
hashCode → int
The hash code for this object.
no setterinherited
maxRetries → int
Maximum number of retries for failed webhook requests
final
retryDelay → Duration
Delay between retries
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited