LogHandler class final
A log callback, for setLogCallback().
The callback runs asynchronously in the isolate and zone that registered it, after native queues the call.
See mln_log_handler in the
C API reference.
Constructors
- LogHandler({required LogCallback callback, LogSeverityFlag platformSeverities = LogSeverityFlag.none})
-
const
Properties
- callback → LogCallback
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- platformSeverities → LogSeverityFlag
-
The severities that also go to the platform's log, as they do without a
callback. 0 sends none. A message of these severities goes to the
platform's log even when the handler's queue can't accept it.
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