package batteries

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

The details of a level scheme for verbosity-level loggers

type t

A type for level values, usually a polymorphic variant

Convert each level to a string

val to_string : t -> string

Convert each level to a string

The default level for loggers created with this; log messages with level less than this won't be printed by default.

val default_level : t

The default level for loggers created with this; log messages with level less than this won't be printed by default.

a comparison function between levels, to know whether logging at a particular level should be printed

val compare : t -> t -> int

a comparison function between levels, to know whether logging at a particular level should be printed

OCaml

Innovation. Community. Security.