Module structured_logger::async_json
source · Expand description
Async JSON Writer Implementation
A Writer
implementation that logs structured values
asynchronous as JSON into a file, stderr, stdout, or any other.
To create a Box<dyn Writer>
use new_writer
.
Example: https://github.com/iorust/structured-logger/blob/main/examples/async_log.rs
Structs
- A Writer implementation that writes logs asynchronous in JSON format.
Functions
- Creates a new
Box<dyn Writer>
instance with AsyncJSONWriter for a given std::io::Write instance.