package devkit

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Devkit_core.LoggerSource

Sourcetype level = [
  1. | `Debug
  2. | `Info
  3. | `Warn
  4. | `Error
  5. | `Critical
  6. | `Nothing
]
Sourcetype facil = {
  1. name : string;
  2. mutable show : int;
}
Sourceval int_level : [< `Critical | `Debug | `Error | `Info | `Nothing | `Warn ] -> int
Sourceval set_filter : facil -> [< `Critical | `Debug | `Error | `Info | `Nothing | `Warn ] -> unit
Sourceval get_level : facil -> [> `Critical | `Debug | `Error | `Info | `Nothing | `Warn ]
Sourceval allowed : facil -> [< `Critical | `Debug | `Error | `Info | `Nothing | `Warn Nothing ] -> bool
Sourceval string_level : [< `Critical | `Debug | `Error | `Info | `Nothing | `Warn ] -> string
Sourceval level : string -> [> `Critical | `Debug | `Error | `Info | `Nothing | `Warn ]
Sourcemodule Pairs : sig ... end
Sourcetype target = {
  1. format : level -> facil -> Time.t -> Pairs.t -> string -> string;
  2. mutable output : level -> facil -> string -> unit;
}
Sourcetype t = {
  1. put : level -> facil -> Time.t -> Pairs.t -> string -> unit;
  2. allowed : facil -> level -> bool;
}

A logger

Sourceval put_simple : target -> t