package easy_logging

  1. Overview
  2. Docs

Module type Easy_logging.HandlersTSource

Signature of Handlers modules.

Sourcetype t

Type of a handler

Sourcetype tag
Sourcetype log_item = {
  1. level : Easy_logging__.Easy_logging_types.level;
  2. logger_name : string;
  3. msg : string;
  4. tags : tag list;
}
Sourcetype log_formatter = log_item -> string
Sourceval apply : t -> log_item -> unit

Applies the handler to a log_item

Sourcetype desc

Type used to instantiate a handler

Instantiates a handler

Sourceval make : desc -> t

Instantiates a handler