meowg

Crates.iomeowg
lib.rsmeowg
version0.0.0
created_at2025-08-19 11:12:15.755039+00
updated_at2025-08-19 11:12:15.755039+00
descriptionTrivial terminal loggers with Catppuccin colour palette
homepage
repositoryhttps://woof.rip/mikael/meowg
max_upload_size
id1801718
size14,822
Mikael (illdefined)

documentation

README

Synopsis

This is a set of trivial terminal loggers with Catppuccin colour palette.

Usage

Add meowg alongside log to the project dependencies:

cargo add log meowg

Set up your preferred Catppuccin flavour Latte, Frappe, Macchiato or Mocha through its associated install function or manually via log::set_logger.

The install function sets the maximum log level to log::LevelFilter::Trace for debug builds or log::LevelFilter::Info for release builds.

The logger may then be used through the standard log facilities.

These loggers write to standard error, are not configurable and do not log anything beyond the message itself. They will however adapt to a terminal’s capabalities thanks to anstream.

They are intended to be used for development alongside more featureful loggers like systemd-journal-logger.

Example

use log::warn;

meowg::Mocha::install().unwrap();
warn!("This is your final warning");

Intellectual property

This work is licenced under the European Union Public Licence.

You are explictly permitted to statically link this library without considering the result a derivative work.

Commit count: 0

cargo fmt