log_tracing_layer/lib.rs
1//! A tracing layer for logging events.
2//!
3//! This is a base library that can be used to create a custom tracing layer.
4//!
5//! ## Libraries using this crate
6//!
7//! - [Datadog: dd-tracing-layer](https://docs.rs/dd-tracing-layer)
8//!
9//! ## How to use it
10//!
11//! Feel free to look at the [dd-tracing-layer](https://docs.rs/dd-tracing-layer) crate to see how to use this crate, but basically, you need to provide a [`LogIngestor`] implementation.
12mod layer;
13mod log_ingestor;
14mod visitor;
15
16pub use layer::LogLayer;
17pub use log_ingestor::{Log, LogEvent, LogIngestor};