Synopsis
This is a set of trivial terminal loggers with Catppuccin colour palette.
Usage
Add meowg alongside log to the project dependencies:
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 warn;
install.unwrap;
warn!;
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.