created (updated in this commit)


glog is currently available in version 1.0.0


You know how it is. You want to log stuff and “hey, this library can do this”, “this library has that feature I definitely need”, “ohh, color would be a nice addition”, “here some code to set the loglevel from the environment”. I’ve been there just recently and so I started working on glog. My very own logging library. Many know that “logging libraries are like opinions: everyone has one”. Now I have one too.


Jack of all trades but master of none: configurability. In glog you have sane defaults (keep quiet if nothing problematic happens, errors to stderr/infos to stdout) and the option to change pretty much everything Time-format? Sure, you can set a format you’ve dreamt up. Want to change the order of outputs? Go ahead.




MPL 2-Clause License


Software is never perfect. If you have issues or suggestions, please do not hesitate to report them here. If you do not have an account you can submit an issue nonetheless by sending an email with the details to: ~mpldr/

If you feel like it, you can Liberapay receiving, or GitHub Sponsors.
Unless stated otherwise the texts of this website are released under CC-BY and code-snippets are released into the public domain.
© Moritz Poldrack

RSS Feed available I am sponsoring the letter @. Yes, that's a thing. This website's content doesn't need AI to be stupid! Website Status