AirocLogEntry class

An immutable snapshot of one log line.

Constructors

AirocLogEntry({required DateTime timestamp, required AirocLogLevel level, required String tag, required String message, String? hex, AirocDataDirection? direction})
const

Properties

direction AirocDataDirection?
Data direction for BLE hex entries, null for plain messages.
final
hashCode int
The hash code for this object.
no setterinherited
hex String?
Optional hex dump of raw BLE bytes (TX or RX).
final
level AirocLogLevel
final
levelLabel String
One-letter level abbreviation.
no setter
message String
Human-readable description.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
Short category tag, e.g. "OTA", "BLE", "SCAN".
final
timeLabel String
Formatted timestamp: HH:mm:ss.mmm
no setter
timestamp DateTime
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColorizedString() String
Colorized string for terminal output.
toString() String
A string representation of this object.
override

Operators

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