Logger class
Constructors
-
Logger.new(LogLevel minimumLoggingLevel, List<
LogWriter> _logWriter, [LogFormatter? _logFormatter])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minimumLoggingLevel ↔ LogLevel
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
log(
String message, LogLevel level, [StackTrace? stackTrace]) → Future - Log a message with it's StackTrace and level
-
logDebugAsync(
String message, [StackTrace? stackTrace]) → Future - Log a message only for debugging
-
logErrorAsync(
String message, [StackTrace? stackTrace]) → Future - Log an error
-
logInfoAsync(
String message, [StackTrace? stackTrace]) → Future - Log a info message
-
logVerboseAsync(
String message, [StackTrace? stackTrace]) → Future - Log any message
-
logWarningAsync(
String message, [StackTrace? stackTrace]) → Future - Log a warning
-
logWtfAsync(
String message, [StackTrace? stackTrace]) → Future - Logs a message when you don't know what is happening
-
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