val create : ?max_size:size ‑> ?mode:Core.Unix.file_perm ‑> ?max_archives:[ `Max of int | `Unlimited ] ‑> ?full_callback:(string Core.Squeue.t ‑> unit) ‑> ?filter:('messagetype ‑> bool) ‑> message_to_string:('messagetype ‑> string) ‑> string ‑> 'messagetype t
val create_default : ?max_size:size ‑> ?mode:Core.Unix.file_perm ‑> ?max_archives:[ `Max of int | `Unlimited ] ‑> ?full_callback:(string Core.Squeue.t ‑> unit) ‑> string ‑> message t
creates a log using the default message type and a filter that drops `Debug messages
misc helper functions
val maybe_log : 'messagetype t option ‑> 'messagetype ‑> unit
logs a message to Some log, returns silently if log is None