Expand description
ยงLogflow
A beautiful, customizable, and performant logging library for Rust with perfect terminal UI.
ยงFeatures
- ๐จ Beautiful terminal output with rich colors and formatting
- ๐ Zero-config defaults with extensive customization options
- โก High performance with minimal overhead
- ๐ Native async support with proper context propagation
- ๐ณ Hierarchical/nested logging with visual indentation
- ๐ Thread-safe by design
- ๐ Multiple output formats (JSON, pretty, compact, custom)
- ๐ฏ Real-time filtering and log level management
ยงQuick Start
use logflow::prelude::*;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let logger = LogFlow::new().with_colors(true).build()?;
logger.info("Application started")?;
logger.warn("This is a warning")?;
logger.error("Something went wrong")?;
Ok(())
}Re-exportsยง
pub use config::*;pub use context::*;pub use formatter::*;pub use level::*;pub use logger::*;pub use macros::*;pub use async_logger::*;