LoggerFactory class
Represents a type used to configure the logging system and create instances of Logger from the registered LoggerProviders.
- Implemented types
- Implementers
- Available extensions
Constructors
-
LoggerFactory.new([Iterable<
LoggerProvider> ? providers, OptionsMonitor<LoggerFilterOptions> ? filterOption]) - Creates a new LoggerFactory instance.
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
-
addProvider(
LoggerProvider provider) → void - Adds an LoggerProvider to the logging system.
-
createLogger(
String categoryName) → Logger -
Creates a new Logger instance with the given
categoryName
. -
dispose(
) → void -
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.
override
-
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
-
create(
ConfigureLoggingBuilder configure) → LoggerFactory -
Creates new instance of LoggerFactory configured using provided
configure
delegate.