UseLogger class
Annotation used to indicate the type of a logger to be used in worker threads.
Package squadron_builder
will register the provided logger when initializing
the worker thread.
Constructors
- UseLogger(dynamic logger)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logger → dynamic
-
Type or constant instance of the logger to use in the worker thread.
The type or instance type must implement SquadronLogger.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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