BetrayalLogConfig class
Manager for logging in the betrayal package.
All of the functions and fields are static. However, since static stuff is lazy in Dart, BetrayalPlugin creates a singleton instance to initialize everything.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Properties
- instance → BetrayalLogConfig
-
Retrieves the singleton instance.
no setter
- level ↔ Level
-
The current logging level for the
betrayal
scope.getter/setter pair - onRecord ← void Function(LogRecord record)
-
Handles log records.
no getter
Static Methods
-
allowIndividualLevels(
) → void - Allows individual loggers to have their own level.