Module type Easy_logging_yojson_aux.HandlersT

include Logging_types.HandlersT
type t

Type of a handler

Applies the handler to a log_item

val apply : t -> Logging_types.log_item -> unit

Applies the handler to a log_item

type desc

Type used to instantiate a handler

type config
val default_config : config

default configuration used to instantiate handlers

val make : ?⁠config:config -> desc -> t

Instantiates a handler

val desc_of_yojson : Yojson.Safe.t -> (desc, string) Stdlib.result
val desc_to_yojson : desc -> Yojson.Safe.t
val config_of_yojson : Yojson.Safe.t -> (config, string) Stdlib.result
val config_to_yojson : config -> Yojson.Safe.t