BetrayalLogConfig class Null safety

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.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
read-only
level Level
The current logging level for the betrayal scope.
read / write
onRecord ← void Function(LogRecord record)
Handles log records.
write-only

Static Methods

allowIndividualLevels() → void
Allows individual loggers to have their own level.