Taglog is an OCaml library to create log functions. These log functions use classical log levels but also tags to determine whether to output a log message or not. See Documentation for details and examples.
Development is hosted on Github.
Taglog is released under the LGPL v3.