package batteries

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v3.8.0.tar.gz
md5=b691e5870f876c6e590d6aa51b4c5457
sha512=3b0643ff337cd70da8c4b77887d212e82d043a7163fca36588be12186bc86bbcf0d56b13349325f12eabb96c846204c88560786342f50af7bf4e20b9480d3964

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

Module type BatLog.Level_sigSource

The details of a level scheme for verbosity-level loggers

Sourcetype t

A type for level values, usually a polymorphic variant

Sourceval to_string : t -> string

Convert each level to a string

Sourceval default_level : t

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

Sourceval compare : t -> t -> int

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

OCaml

Innovation. Community. Security.