Global.MakeSourceThis function can be called to generate logging modules with the Log.t lazily instantiated, and prepopulated in the arguments.
Functions that operate on a given log. In this case they operate on a single log global to the module.
val raw :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aval info :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aval error :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aval debug :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aval printf :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aval sexp :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
Core.Sexp.t ->
unitval string :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
string ->
unitval structured_message :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
Ppx_log_types.Message_data.t ->
Ppx_log_types.Message_source.t ->
unitval surround_s :
on_subsequent_errors:[ `Call of exn -> unit | `Log | `Raise ] ->
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
Core.Sexp.t ->
(unit -> 'a Async_kernel.Deferred.t) ->
'a Async_kernel.Deferred.tval surroundf :
on_subsequent_errors:[ `Call of exn -> unit | `Log | `Raise ] ->
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a,
unit,
string,
(unit -> 'b Async_kernel.Deferred.t) ->
'b Async_kernel.Deferred.t)
Core.format4 ->
'a