ZenithLogObserver class

A built-in ZenithObserver that logs all events via debugPrint.

Only prints in debug mode (assertions enabled). In release mode, all calls are no-ops.

Inheritance

Constructors

ZenithLogObserver()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onContainerCreated(ZenithContainer container) → void
Called when a ZenithContainer is created.
override
onContainerDisposed(ZenithContainer container) → void
Called when a ZenithContainer is disposed.
override
onNodeCreated(ZenithContainer container, Object key, ZenithNode node) → void
Called when a new ZenithNode is created in container with key.
override
onNodeDisposed(ZenithNode node) → void
Called when a ZenithNode is disposed.
override
onNodeMutated(ZenithNode node, dynamic oldValue, dynamic newValue) → void
Called when a ZenithNode's value is updated.
override
toString() → String
A string representation of this object.
inherited

Operators

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