Skip to main content

console_log

Function console_log 

Source
pub async fn console_log<L: Serialize>(
    events: UnboundedReceiver<Event<L>>,
) -> Result<()>
Expand description

drain to standard error.

Spawn this beside the episode, then await it once the episode is over. It finishes when the last actor lets go of its logger, so every event logged is written.