LogTarget mixin

The foundation for building out a special logger. If logs need to be directed to a certain area, this is the interface to start off with. For instance a console logger, a networking logger or offline storage logger would all start off with LogTarget.

Mixin applications

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
parseLog(LogMessage log) → void
Implement this method to process logging messages. This is where the logic for the target will be added. Feel free to add your own data queueing and offline storage.
toString() String
A string representation of this object.
inherited

Operators

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