NullLogger class
Dummy implementation of logger that doesn't do anything.
It can be used in testing or in situations when logger is required but shall be disabled.
See ILogger
- Implemented types
Constructors
- NullLogger()
- Creates a new instance of the logger.
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
-
debug(
String correlationId, [ String message, [ List args ]) → void -
Logs a high-level debug information for troubleshooting. [...]
override
-
error(
String correlationId, [ ApplicationException error, String message, [ List args ]) → void -
Logs recoverable application error. [...]
override
-
fatal(
String correlationId, [ ApplicationException error, String message, [ List args ]) → void -
Logs fatal (unrecoverable) message that caused the process to crash. [...]
override
-
getLevel(
) → LogLevel -
Gets the maximum log level.
Messages with higher log level are filtered out. [...]
override
-
info(
String correlationId, [ String message, [ List args ]) → void -
Logs an important information message [...]
override
-
log(
LogLevel level, String correlationId, [ ApplicationException error, String message, [ List args ]) → void -
Logs a message at specified log level. [...]
override
-
setLevel(
LogLevel value) → void -
Set the maximum log level. [...]
override
-
trace(
String correlationId, [ String message, [ List args ]) → void -
Logs a low-level debug information for troubleshooting. [...]
override
-
warn(
String correlationId, [ String message, [ List args ]) → void -
Logs a warning that may or may not have a negative impact. [...]
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited