module Cohttp_lwt_unix_debug

: sig

Debugging output for Cohttp Unix

val debug_active : bool Pervasives.ref

Set debug_active to true to activate debugging output that will be sent to the standard error. Defaults to false.

val debug_print : ('a, unit, string, unit) Pervasives.format4 -> 'a

debug_print fmt will print the given fmt format string and arguments to the standard error, prepended by the process id.