package bos
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Bos_setup.Logs
include module type of struct include Logs end
val level : unit -> level option
val set_level : ?all:bool -> level option -> unit
val pp_level : Format.formatter -> level -> unit
val level_to_string : level option -> string
val default : src
type (!'a, !'b) msgf =
(?header:string ->
?tags:Tag.set ->
('a, Format.formatter, unit, 'b) format4 ->
'a) ->
'b
type !'a log = ('a, unit) msgf -> unit
val on_error :
?src:src ->
?level:level ->
?header:string ->
?tags:Tag.set ->
pp:(Format.formatter -> 'b -> unit) ->
use:('b -> 'a) ->
('a, 'b) result ->
'a
module type LOG = sig ... end
val nop_reporter : reporter
val format_reporter :
?pp_header:(Format.formatter -> (level * string option) -> unit) ->
?app:Format.formatter ->
?dst:Format.formatter ->
unit ->
reporter
val reporter : unit -> reporter
val set_reporter : reporter -> unit
val pp_print_text : Format.formatter -> string -> unit
val pp_header : Format.formatter -> (level * string option) -> unit