Skip to main content

Crate rosace_trace

Crate rosace_trace 

Source

Re-exports§

pub use bus::TraceSubscriber;
pub use bus::TracingBus;
pub use bus::TRACING_BUS;
pub use event::LogLevel;
pub use event::RosaceTrace;
pub use event::TraceCategory;
pub use log::max_level;
pub use log::set_max_level;
pub use log::init_from_env;
pub use subscribers::flight_recorder;
pub use subscribers::install_flight_recorder;
pub use subscribers::install_log_console;
pub use subscribers::perfetto::to_chrome_trace_json;

Modules§

bus
event
log
User-facing logging — the ergonomic front-end to the trace bus.
subscribers

Macros§

debug
Log at Debug.
error
Log at Error.
info
Log at Info.
location
Captures the current source location as a Location.
log
Log at an explicit LogLevel. The level-specific macros (info! etc.) forward here.
log_trace
Log at Trace (note: distinct from trace!, which emits structured framework events; this logs a message).
trace
Emits a RosaceTrace event — zero cost in production.
warn
Log at Warn.