package easy_logging

  1. Overview
  2. Docs

Module Logging_internals.MakeLoggingSource

Functor to generate a Logging module over a Handlers module.

Parameters

module H : sig ... end

Signature

Sourcetype level =
  1. | Debug
  2. | Trace
  3. | Info
  4. | Warning
  5. | Error
  6. | Flash
  7. | NoLevel
Sourceval show_level : Easy_logging__.Logging_types.level -> string
Sourceval pp_level : Format.formatter -> Easy_logging__.Logging_types.level -> unit
Sourceval level_of_string : string -> (Easy_logging__.Logging_types.level, string) result
Sourceval debug : bool ref
Sourceclass logger : ?parent:logger option option -> string -> object ... end
Sourceval root_logger : logger
Sourcemodule Infra : sig ... end
Sourceval _tree_to_yojson : Infra.t -> [> `Assoc of (string * [> `List of 'a list | `String of string ]) list ] as 'a
Sourceval tree_to_yojson : unit -> [> `Assoc of (string * [> `List of 'a list | `String of string ]) list ] as 'a
Sourceval handlers_config : H.config ref
Sourceval set_handlers_config : H.config -> unit
Sourceval get_logger : string -> logger
Sourceval make_logger : ?propagate:bool -> string -> level -> H.desc list -> logger