package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.20261006.tar.gz
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242

doc/devkit.core/Devkit_core/Logger/index.html

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