Skip to main content

Module log_output

Module log_output 

Source
Expand description

Log-output capability trait.

Lets the trace pipeline emit already-encoded log-exporter output to the platform’s log sink. On native targets this writes to process stdout; a wasm consumer implements it by handing the bytes to the host (e.g. JavaScript), since wasm cannot write to stdout directly.

Traits§

LogWriterCapability
Capability for writing encoded log-exporter output to the platform log sink.