Compact storage for tracing using msgpack
fn main() {
msgpack_tracing::install_logger(
File::create(path).unwrap(),
msgpack_tracing::WithConsole::AnsiColors,
)
}fn main() {
msgpack_tracing::install_rotate_logger(
path,
max_len,
msgpack_tracing::WithConsole::AnsiColors,
)
.unwrap()
}Use the sub-crate msgpack-tracing-printer for parsing files.
cargo run -p msgpack-tracing-printer -- file.log