| Crates.io | msgpack-tracing |
| lib.rs | msgpack-tracing |
| version | 0.1.2 |
| created_at | 2025-05-20 21:34:43.780527+00 |
| updated_at | 2025-05-22 18:22:54.549587+00 |
| description | Compact storage for tracing using msgpack |
| homepage | https://github.com/Andrepuel/msgpack-tracing |
| repository | https://github.com/Andrepuel/msgpack-tracing.git |
| max_upload_size | |
| id | 1682472 |
| size | 87,452 |
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