RohdBridgeLogger class abstract

Logger for ROHD Bridge tool

Constructors

RohdBridgeLogger()

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 Properties

continueOnError ↔ bool
If set to true, then errors will be printed without causing an immediate exception halting execution.
getter/setter pair
enableDebugMesage ↔ bool
If set totrue, some additional log will be printed which will be helpful for debug
getter/setter pair
fileSink → IOSink?
The file sink to write to.
no setter
logger → Logger
logger for rohd_bridge
final

Static Methods

configureLogger(String? filePath, {Level printLevel = Level.ALL, Level rootLevel = Level.ALL, bool continueOnError = false, bool enableDebugMesage = false}) → void
Sets up logging to dump to filePath (if provided) and print to console based on printLevel and rootLevel.
flush() → Future<void>
Flush the file sink.
terminate() → Future<void>
Terminate the logger and close the file sink.