prettyterm

Crates.ioprettyterm
lib.rsprettyterm
version0.1.0
created_at2025-11-29 12:25:32.479176+00
updated_at2025-11-29 12:25:32.479176+00
descriptionMake your terminal interfaces prettier!
homepage
repositoryhttps://github.com/CodeLibraty/prettyterm-rs
max_upload_size
id1956632
size57,271
Rejzi-dich (Rejzi-dich)

documentation

README

PrettyTerm-rs

PrettyTerm is a standalone logging and terminal visualization library for structured applications. Unlike general-purpose logging facades, it provides component-based logging with built-in formatting styles and tree visualization - perfect for compilers, build tools, and structured CLI applications

Design Philosophy

  1. Component-based: Each log knows where it came from (file, function, path)
  2. Zero-config: Works out of the box, settings are optional
  3. Standalone: Does not require integration with other logging systems
  4. Visual-first: Priority on readability and output structure
  5. Compiler-friendly: Designed for compilers, build systems, and CLI utilities

When should I use PrettyTerm?

Use it if:

  • You are writing a compiler/transpiler
  • Are you creating a build system or a task runner
  • We need a component logger with a context
  • We need a tree view of the stages
  • Do you want a beautiful output without customization

Do not use it if:

  • You are writing a library (preferably a log trace)
  • We need log rotation and complex configuration (better than log4rs)
  • We need structured logging with JSON (better than tracing)
  • We need async logging (better than tracing or slog)

Authors

Authors

License

see the LICENSE file

Commit count: 0

cargo fmt