Logger class abstract interface

Interface to be implemented to consume log from the library.

Instances of implemented classes are obtained by the library through the LoggerProvider instance set on LightstreamerClient.setLoggerProvider.

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

debug(String line, [Exception? exception]) → void
Receives log messages at Debug level and a related exception.
error(String line, [Exception? exception]) → void
Receives log messages at Error level and a related exception.
fatal(String line, [Exception? exception]) → void
Receives log messages at Fatal level and a related exception.
info(String line, [Exception? exception]) → void
Receives log messages at Info level and a related exception.
isDebugEnabled() bool
Checks if this logger is enabled for the Debug level.
isErrorEnabled() bool
Checks if this logger is enabled for the Error level.
isFatalEnabled() bool
Checks if this logger is enabled for the Fatal level.
isInfoEnabled() bool
Checks if this logger is enabled for the Info level.
isTraceEnabled() bool
Checks if this logger is enabled for the Trace level.
isWarnEnabled() bool
Checks if this logger is enabled for the Warn level.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
trace(String line, [Exception? exception]) → void
Receives log messages at Trace level and a related exception.
warn(String line, [Exception? exception]) → void
Receives log messages at Warn level and a related exception.

Operators

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