I am looking for a way to gather the messages coming from various
modules of a program and selectively dispatch them to STDERR, a log
file, or whatever.
A module processing the messages in a manner similar to the `syslog'
found on UNIX systems would be nice.
Caml-list mailing list. Subscription management:
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
There is an implementation of the syslog protocol itself in OCaml:
It is also available as package in Debian (and Ubuntu).