censer

Crates.iocenser
lib.rscenser
version0.1.0
created_at2025-12-14 21:58:08.271629+00
updated_at2025-12-14 21:58:08.271629+00
descriptionBeautiful, structured logging for the terminal ⚒️
homepagehttps://molten.dev
repositoryhttps://github.com/moltenlabs/censer
max_upload_size
id1985168
size36,770
Chris Mathew (chriscmathew-dorsia)

documentation

https://docs.rs/censer

README

🔥 Censer

Beautiful, structured logging for the terminal.

Crates.io Documentation License


What is Censer?

A censer burns incense, producing beautiful, visible output. This crate does the same for your logs—gorgeous, human-readable output with colors and structure.


Quick Start

use censer::{info, warn, error, debug};

// Simple logging
info!("Server started");
warn!("Low disk space");
error!("Connection failed");

// With key-value pairs
info!("Request received"; "method" => "GET", "path" => "/api/users");
// INFO Request received method=GET path=/api/users

Custom Logger

use censer::{Logger, Level};

let logger = Logger::new()
    .with_timestamp()
    .with_icons()
    .min_level(Level::Info);

logger.info("Application started");
// 14:30:45 ℹ️  INFO Application started

Log Levels

Level Color Icon
DEBUG Gray 🔍
INFO Blue ℹ️
WARN Amber ⚠️
ERROR Red
FATAL Dark Red 💀

Installation

cargo add censer

Ecosystem

Part of the Molten Labs open source ecosystem:

Crate Description
molten_brand Design tokens & colors
glyphs ANSI escape sequences
lacquer Terminal styling
tuyere TUI framework
scoria TUI components
chant Shell glamour
aglow Markdown renderer
censer Pretty logging (you are here)

License

MIT OR Apache-2.0

Built with 🔥 by Molten Labs

Commit count: 0

cargo fmt