TaskLogger class abstract interface

The interface for the logger as TaskBase classes expect it.

This can be used to log messages in a task context, without the extended status logic. This class is typically not implemented directly, instead implement Logger and implement the methods there.

Implementers

Constructors

TaskLogger()

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

debug(String message) → void
Logs a message with LogLevel.debug.
error(String message) → void
Logs a message with LogLevel.error.
except(Exception exception, [StackTrace? stackTrace]) → void
Logs an exception with LogLevel.except.
info(String message) → void
Logs a message with LogLevel.info.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pipeStderr(Stream<List<int>> stderr) Future<void>
Pipes the stderr of for example a process to the logger
toString() String
A string representation of this object.
inherited
warn(String message) → void
Logs a message with LogLevel.warn.

Operators

operator ==(Object other) bool
The equality operator.
inherited