Crates.io | meowg |
lib.rs | meowg |
version | 0.0.0 |
created_at | 2025-08-19 11:12:15.755039+00 |
updated_at | 2025-08-19 11:12:15.755039+00 |
description | Trivial terminal loggers with Catppuccin colour palette |
homepage | |
repository | https://woof.rip/mikael/meowg |
max_upload_size | |
id | 1801718 |
size | 14,822 |
This is a set of trivial terminal loggers with Catppuccin colour palette.
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
.
use log::warn;
meowg::Mocha::install().unwrap();
warn!("This is your final warning");
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.