module Section: sig
.. end
Sections
type
t = Lwt_log.section
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.
val level : Lwt_log.section -> Lwt_log.level
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