NullLoggerFactory class

An LoggerFactory used to create instance of NullLogger that logs nothing.

Implemented types
Available Extensions

Constructors

NullLoggerFactory()
Creates a new NullLoggerFactory instance.
const

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 loggerProvider) → void
This method ignores the parameter and does nothing.
override
createLogger(String categoryName) Logger
This returns a NullLogger instance which logs nothing.
override
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 Properties

instance NullLoggerFactory
Returns the shared instance of NullLoggerFactory.
no setter