1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Simple structured logging.
//!
//! This crate is a stop-gap till [`log::kv`](https://docs.rs/log/latest/log/kv/index.html) stabilizes. It marries [`tracing`](https://docs.rs/tracing)'s awesome
//! `event!` macro to `log`'s simplicity. The plan is to eventually drop the custom
//! macros in this crate and integrate with `log` directly.
//!
//! To start using this crate, initialize a logger as early as possible in your program,
//! then use the [`trace!`], [`debug!`], [`info!`], [`warn!`], [`error!`] or [`fatal!`]
//! macros to log messages and key-value pairs!
//!
//! ```
//! use lumbermill::{info , Logger};
//!
//! Logger::default().init(); // Use the default configuration
//!
//! info!(addr.ip = "0.0.0.0", uptime = 9001, "Server is listening on port {}", 3000);
//! ```
//!
//! Macro documentation delves deeper into what you can supply to them. Refer to
//! it for details.
//!
pub use OffsetDateTime;
pub use RollInterval;
pub use ;
pub use ;