Struct sbp::messages::logging::MsgLog [−][src]
pub struct MsgLog {
pub sender_id: Option<u16>,
pub level: u8,
pub text: SbpString<Vec<u8>, Unterminated>,
}
Expand description
Plaintext logging messages with levels
This message contains a human-readable payload string from the device containing errors, warnings and informational messages at ERROR, WARNING, DEBUG, INFO logging levels.
Fields
sender_id: Option<u16>
The message sender_id
level: u8
Logging level
text: SbpString<Vec<u8>, Unterminated>
Human-readable string
Trait Implementations
The message type.
The message name.
Get the message name.
Get the message type.
Set the sender id.
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgLog
impl UnwindSafe for MsgLog
Blanket Implementations
Mutably borrows from an owned value. Read more