MqttLogger class

Library wide logging class

Constructors

MqttLogger()

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

clientId int
Unique per client identifier
getter/setter pair
loggingOn bool
Log or not
getter/setter pair
testMode bool
Test mode
getter/setter pair
testOutput String
Test output
getter/setter pair

Static Methods

log(String message, [dynamic optimise = false]) → void
Log method If the optimise parameter is supplied it must have a toString method, this allows large objects such as lots of payload data not to be converted into a string in the message parameter if logging is not enabled.