#logging #create #lttng-ust

lttng-ust-logging

Log to lttng-ust from the log create

1 unstable release

Uses old Rust 2015

0.1.0 Feb 13, 2018

#414 in #create

MIT license

11KB
137 lines

lttng-ust-logging

An stdlog backend intended for use with the Linux Tracing Toolkit, Next Generation (LTTNG). To use just pull this crate in to your Cargo.toml and set up the logger using lttng_ust_logging::init(). See the repository for a complete example, under examples/logging.


lib.rs:

Publishes Rust stdlog logging to a lttng-ust channel. To get started, all you need to do is add this crate as a dependency and register it as the current logging facility using init().

Dependencies

~0–2MB
~40K SLoC