PlexLogger class

Structured logger for the plex library.

In release builds, verbose and debug are suppressed by default. Use setLevel to control the minimum level.

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

addSink(PlexLogSink sink) → void
Add a sink for forwarding logs (e.g. remote logging).
d(String tag, String message) → void
e(String tag, String message, {Object? error, StackTrace? stack}) → void
i(String tag, String message) → void
removeSink(PlexLogSink sink) → void
Remove a sink.
setLevel(PlexLogLevel level) → void
Set the minimum log level. Messages below this level are not output.
v(String tag, String message) → void
w(String tag, String message, {Object? error, StackTrace? stack}) → void