A C logging library based on Python's logbook