MqttLogLevel

Log levels for the MQTTastic library, ordered from most verbose to least verbose.

Configure via MqttConfig.logLevel to control which messages are delivered to your MqttLogger implementation. Messages below the configured level are discarded with zero overhead (no string construction).

Entries

Link copied to clipboard

Wire-level detail: packet bytes, Variable Byte Integer encoding, raw frames.

Link copied to clipboard

Protocol flow: packet sent/received, state transitions, QoS handshake steps.

Link copied to clipboard

Lifecycle events: connected, disconnected, subscribed, unsubscribed.

Link copied to clipboard

Recoverable issues: reconnecting, retry attempts, PINGRESP timeout.

Link copied to clipboard

Failures: connection lost, decode errors, broker rejections.

Link copied to clipboard

Disable all logging. No messages are delivered regardless of logger configuration.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.