package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.std/B0_std/Log/Reporter/index.html

Module Log.ReporterSource

Reporting.

Sourcetype t = {
  1. kmsg : 'a 'b. (unit -> 'b) -> level -> ('a, 'b) msgf -> 'b;
}

The type for log message reporters. kmsg is never invoked with a level of Quiet or with a level smaller than the reporting level.

Sourceval nop : t

nop is a logger that reports nothing.

Sourceval default : t

default is the default reporter. It logs Log.level.Stdout messages on Fmt.stdout and all other messages on Fmt.stderr.

Sourceval get : unit -> t

get () is the reporter.

Sourceval set : t -> unit

set r sets the reporter to r.