package easy_logging

  1. Overview
  2. Docs

Log formatters: functions of type log_item -> string.

Formatting functions

val reduce : ('a -> 'a -> 'a) -> 'a list -> 'a -> 'a
val format_tags : string list -> string

Auxiliary functions.

val format_default : Easy_logging__.Logging_types.log_item -> string

Human readable log messages.

val format_color : Easy_logging__.Logging_types.log_item -> string

Human readable log messages, with level depending colors.

val format_json : Easy_logging__.Logging_types.log_item -> string

JSON logs for software interoperability.

OCaml

Innovation. Community. Security.