structured-logger
A logging implementation for the log crate that logs structured values as JSON (CBOR, or any other) into a file, stderr, stdout, or any other. Inspired by std-logger.
Usage
See the API documentation for more.
Example
- Log panics example: https://github.com/iorust/structured-logger/blob/main/examples/panic_log.rs
- Async log example: https://github.com/iorust/structured-logger/blob/main/examples/async_log.rs
Simple example:
use Serialize;
use ;
use ;
License
Copyright © 2023-present IO Rust.
iorust/structured-logger
is licensed under either of Apache License, Version
2.0 or MIT license at your option.