Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Msg.LoggingSetupSourceCreates the logging "source" for the electrod library (not the whole application). Defines functions: debug, info, err, warn
let univ_duplicate_atoms args =
info @@ fun m -> args @@ fun written actual ->
m "univ contains duplicate atoms: %a\n\
ignoring them and continuing with this: %a"
(Atom.pp_list) written
(Atom.pp_list) actualinclude module type of struct include M endSee Logs.msg.
See Logs.kmsg.
result value Errorsval on_error :
?level:Logs.level ->
?header:string ->
?tags:Logs.Tag.set ->
pp:(Format.formatter -> 'b -> unit) ->
use:('b -> 'a) ->
('a, 'b) result ->
'aSee Logs.on_error.
val on_error_msg :
?level:Logs.level ->
?header:string ->
?tags:Logs.Tag.set ->
use:(unit -> 'a) ->
('a, [ `Msg of string ]) result ->
'aSee Logs.on_error_msg.