package bolt

  1. Overview
  2. Docs
type time
type t = private {
  1. id : int;
  2. hostname : string;
  3. process : int;
  4. thread : int;
  5. timestamp : time;
  6. relative : int;
  7. level : Level.t;
  8. logger : Name.t;
  9. origin : Name.t;
  10. file : string;
  11. line : int;
  12. column : int;
  13. message : string;
  14. properties : (string * string) list;
  15. error : (exn * string) option;
}
val make : Name.t -> Level.t -> ?origin:Name.t option -> ?file:string -> ?line:int -> ?column:int -> ?properties:(string * string) list -> ?error:exn option -> string -> t
val with_logger : Name.t -> t -> t
val bindings : t -> (string * string) list
val render_bindings : (string * string) list -> string -> string
val render : string -> t -> string
OCaml

Innovation. Community. Security.