Loggers class
A log manager.
Manage all named RedstoneLogger. various logger will stored it and classified by various dimensions
Add a LogFilter decide logger and listen log event.
Add a LogOutput that receiving LogPrinter stream and output
to any destination.
- Mixed-in types
Constructors
- Loggers()
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 Methods
-
builtInLogger(
{bool replace = false}) → RedstoneLogger - Get built-in logger.
-
newLogger(
String name, {LogFilter? filter, LogPrinter? printer, LogOutput? output, Level? lowestLevel}) → RedstoneLogger - Get a new logger and put it in map
-
of(
) → RedstoneLogger -
Get built-in logger
override
-
ofNamed(
{String? name, Level? level}) → RedstoneLogger - Get named logger.
-
safeLogger(
) → RedstoneLogger