package b0

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

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.