package cohttp

  1. Overview
  2. Docs

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.

OCaml

Innovation. Community. Security.