ILogger class Null safety
Todo: solve issue with overloaded methods. Look at Python implementation Interface for logger components that capture execution log messages.
- Implementers
Constructors
- ILogger()
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. [...]
-
error(
String? correlationId, Exception? error, String message, [List? args]) → void - Logs recoverable application error. [...]
-
fatal(
String? correlationId, Exception? error, String message, [List args]) → void - Logs fatal (unrecoverable) message that caused the process to crash. [...]
-
getLevel(
) → LogLevel - Gets the maximum log level. Messages with higher log level are filtered out. [...]
-
info(
String? correlationId, String message, [List? args]) → void - Logs an important information message [...]
-
log(
LogLevel level, String? correlationId, Exception? error, String message, [List? args]) → void - Logs a message at specified log level. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setLevel(
LogLevel value) → void - Set the maximum log level. [...]
-
toString(
) → String -
A string representation of this object. [...]
inherited
-
trace(
String? correlationId, String message, [List? args]) → void - Logs a low-level debug information for troubleshooting. [...]
-
warn(
String? correlationId, String message, [List? args]) → void - Logs a warning that may or may not have a negative impact. [...]
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited