Struct holochain_zome_types::trace::TraceMsg [−][src]
Expand description
Representation of message to be logged via the debug
host function
Fields
msg: String
A formatted string to be forwarded to tracing
on the host side.
The host will provide:
- Timestamps
- ANSI coloured levels
The guest should provide:
- Useful message
- Line numbers etc.
level: Level
Severity level for the message.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TraceMsg
impl UnwindSafe for TraceMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more