mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2026-05-05 08:54:23 -04:00
17 lines
678 B
OCaml
17 lines
678 B
OCaml
(** Logging for tiny_httpd *)
|
|
|
|
val info : ((('a, Format.formatter, unit, unit) format4 -> 'a) -> unit) -> unit
|
|
val debug : ((('a, Format.formatter, unit, unit) format4 -> 'a) -> unit) -> unit
|
|
val error : ((('a, Format.formatter, unit, unit) format4 -> 'a) -> unit) -> unit
|
|
|
|
val setup : debug:bool -> unit -> unit
|
|
(** Setup and enable logging. This should only ever be used in executables, not
|
|
libraries.
|
|
@param debug if true, set logging to debug (otherwise info) *)
|
|
|
|
val dummy : bool
|
|
|
|
val fully_disable : unit -> unit
|
|
(** Totally silence logs for tiny_httpd. With [Logs] installed this means
|
|
setting the level of the tiny_httpd source to [None].
|
|
@since 0.18 *)
|