Minilog
Mini Logging Library with C++20 education purpose
Install / Use
/learn @archibate/MinilogREADME
minilog
Mini Logging Library for C++20
This is a single-header-only log library, simply copy the
minilog.hto your project (C++20 required) and include it would work.
#include "minilog.h"
int main() {
minilog::log_info("hello, the answer is {}", 42);
minilog::log_critical("this is right-aligned [{:>+10.04f}]", 3.14);
minilog::log_warn("good job, {1:.5s} for making {0}", "minilog", "archibate");
minilog::set_log_level(minilog::log_level::trace); // default log level is info
int my_variable = 42;
MINILOG_P(my_variable); // shown when log level lower than debug
}

Formatting are based on C++20
std::format.
cmake -B build
cmake --build build
export MINILOG_LEVEL=trace # set default log level from environment variable
build/main
Demostration video: https://www.bilibili.com/video/BV1t94y1r72E
Available log levels are:
- trace
- debug
- info
- critical
- warn
- error
- fatal
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
400Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
