Up
Module
Make_global
() :
Global_intf
Parameters
Signature
val
log :
t
Core.Std.Lazy.t
val
level : unit ->
Level.t
val
set_level :
Level.t
-> unit
val
set_output :
Output.t
list -> unit
val
get_output : unit ->
Output.t
list
val
set_on_error : [
| `Call
of
Core.Std.Error.t
-> unit
| `Raise
] -> unit
val
would_log :
Level.t
option -> bool
val
raw : ?time:
Core.Std.Time.t
-> ?tags:(string * string) list -> ('a, unit, string, unit)
Core.Std.format4
-> 'a
val
info : ?time:
Core.Std.Time.t
-> ?tags:(string * string) list -> ('a, unit, string, unit)
Core.Std.format4
-> 'a
val
error : ?time:
Core.Std.Time.t
-> ?tags:(string * string) list -> ('a, unit, string, unit)
Core.Std.format4
-> 'a
val
debug : ?time:
Core.Std.Time.t
-> ?tags:(string * string) list -> ('a, unit, string, unit)
Core.Std.format4
-> 'a
val
flushed : unit -> unit
Async_unix.Import.Deferred.t
val
rotate : unit -> unit
Async_unix.Import.Deferred.t
val
printf : ?level:
Level.t
-> ?time:
Core.Std.Time.t
-> ?tags:(string * string) list -> ('a, unit, string, unit)
Core.Std.format4
-> 'a
val
sexp : ?level:
Level.t
-> ?time:
Core.Std.Time.t
-> ?tags:(string * string) list ->
Core.Std.Sexp.t
-> unit
val
string : ?level:
Level.t
-> ?time:
Core.Std.Time.t
-> ?tags:(string * string) list -> string -> unit
val
message :
Message.t
-> unit