Up

Module Log

Signature

module Level : sig .. end
module Message : sig .. end
module Rotation : sig .. end
module Output : sig .. end
module Blocking : sig .. end
val sexp_of_t : t -> Sexplib.Sexp.t
module type Global_intf = sig .. end
module Global : sig .. end
val set_level : t -> Level.t -> unit
val level : t -> Level.t
val set_output : t -> Output.t list -> unit
val get_output : t -> Output.t list
val set_on_error : t -> [
| `Call of Core.Std.Error.t -> unit
| `Raise
] -> unit
val close : t -> unit
val is_closed : t -> bool
val flushed : t -> unit Async_unix.Import.Deferred.t
val rotate : t -> unit Async_unix.Import.Deferred.t
val create : level:Level.t -> output:Output.t list -> on_error:[
| `Call of Core.Std.Error.t -> unit
| `Raise
] -> t
val raw : ?time:Core.Std.Time.t -> ?tags:(string * string) list -> t -> ('a, unit, string, unit) Core.Std.format4 -> 'a
val debug : ?time:Core.Std.Time.t -> ?tags:(string * string) list -> t -> ('a, unit, string, unit) Core.Std.format4 -> 'a
val info : ?time:Core.Std.Time.t -> ?tags:(string * string) list -> t -> ('a, unit, string, unit) Core.Std.format4 -> 'a
val error : ?time:Core.Std.Time.t -> ?tags:(string * string) list -> t -> ('a, unit, string, unit) Core.Std.format4 -> 'a
val printf : ?level:Level.t -> ?time:Core.Std.Time.t -> ?tags:(string * string) list -> t -> ('a, unit, string, unit) Core.Std.format4 -> 'a
val sexp : ?level:Level.t -> ?time:Core.Std.Time.t -> ?tags:(string * string) list -> t -> Core.Std.Sexp.t -> unit
val string : ?level:Level.t -> ?time:Core.Std.Time.t -> ?tags:(string * string) list -> t -> string -> unit
val message : t -> Message.t -> unit
val would_log : t -> Level.t option -> bool
module Reader : sig .. end