Skip to main content

clog

Macro clog 

Source
macro_rules! clog {
    ($tag:expr, $ctx:expr $(,)?) => { ... };
    ($tag:expr, $ctx:expr, $($rest:tt)+) => { ... };
}
Expand description

Phase 7 structured-log macro. Emits a single println! line of the form <tag> <ctx-fields> <message> — exactly the shape the Phase 0 correlationLog.ts parser already understands.

Examples:

clog!("[drive-grant-actor]", &ctx, "ensure_ready start");
clog!(
    "[PlutoRTC][session-token-presentation]",
    &ctx,
    "dialer write+finish done payload_len={}",
    payload_len,
);