Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Lwt_log.Section

module Section: sig..end

Sections


val make : string -> Lwt_log.section

make name creates a section with the given name, with level initialised according to the LWT_LOG environment variable.

val name : Lwt_log.section -> string

name section returns the name of section

val main : Lwt_log.section

The main section. It is the section used by default when no one is provided.

level section returns the logging level of section

val set_level : Lwt_log.section -> Lwt_log.level -> unit

set_level section sets the logging level of the given section