package batteries

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v3.2.0.tar.gz
sha256=00f34b9aed4e47f314425b2ca9ceac206f112095a17ea9a7ffa6dac8cfccc492
md5=066051f9a210277710c54ad57c3b9568

doc/batteries.unthreaded/BatLog/Make_lev/argument-1-L/index.html

Parameter Make_lev.L

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.