package batteries

  1. Overview
  2. Docs
A community-maintained standard library extension

Install

Dune Dependency

Authors

Maintainers

Sources

v3.3.0.tar.gz
sha256=40d18485911e343500a5636bbf1d84e2ee32f924fe87e5fd13a37641a4d8f226
md5=fe4da12b678a82faaeda4e58492ea871

doc/batteries.unthreaded/BatLog/module-type-Level_sig/index.html

Module type BatLog.Level_sig

The details of a level scheme for verbosity-level loggers

type t

A type for level values, usually a polymorphic variant

val to_string : t -> string

Convert each level to a string

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.

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.