Imandrakit_log.Log_eventEvents.
The log reporter emits events, which can then be written to various outputs.
module Err = Imandrakit_error.Errortype t = {lvl : Log_level.t;Log level.
*)ts : float;Timestamp, in seconds, since the UNIX epoch.
*)msg : string;Log message.
*)src : string;Log source.
*)meta : (string * Log_meta.t) list;Additional metadata
*)}A log event, which we can store, serialize, send elsewhere, etc.
val pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unitval show : t -> Ppx_deriving_runtime.stringval to_twine_ref :
(Imandrakit_twine.Encode.t -> t -> Imandrakit_twine.Encode.immediate) refval of_twine_ref : (Imandrakit_twine.Decode.t -> int -> t) refval to_twine :
Imandrakit_twine.Encode.t ->
t ->
Imandrakit_twine.Encode.immediateval of_twine : Imandrakit_twine.Decode.t -> int -> ttype json = Yojson.Safe.tval json_error : Err.Kind.tval of_yojson_ : json -> t Err.result