LogWatcher class

Subscribes to Logger.root.onRecord and feeds TelescopeStore.recordLog.

Auto-installed by TelescopePlugin.install. Zero ceremony — the package package:logging is the de-facto standard for structured logging in Dart

  • Flutter; if the app doesn't use it, this watcher is dormant (no log records flow through Logger.root).
Implemented types

Constructors

LogWatcher()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Human-readable watcher name.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

install() → void
Wire the watcher's listening hook (event subscription, override, etc.).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
uninstall() → void
Tear down the hook (test isolation).
override

Operators

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