LoggerConfig class
Logger configuration model for DevLoggerX.
Holds all runtime config options for the logger overlay and persistence.
Constructors
Properties
-
allowedIds
→ List<
String> -
List of allowed IDs (email, phone, or string IDs) for access in production. If empty, no one is allowed by ID.
final
- enableInDebug → bool
-
Enable logger in debug mode (default: true)
final
- enableLongPressGesture → bool
-
Enable global long-press gesture to open overlay (default: true)
final
- enablePersistence → bool
-
Enable log persistence using Hive (default: false)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxStoredLogs → int?
-
Maximum number of logs to store (if persistence enabled)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? enableInDebug, List< String> ? allowedIds, bool? enableLongPressGesture, bool? enablePersistence, int? maxStoredLogs}) → LoggerConfig - Copy this config with new values.
-
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