package omod

  1. Overview
  2. Docs
Lookup and load installed OCaml modules

Install

dune-project
 Dependency

Authors

Maintainers

Sources

omod-0.0.5.tbz
sha512=ba4922a3ff0c549a288908d0506ad8e53a0b256c3c564987a8026c6619f2ce5025d930671452caa250d2e23234b6aa29a5fb0b138ada37cb8a1d535c2968ba24

doc/omod.support/Omod_support/Log/index.html

Module Omod_support.LogSource

Logging.

Sourcetype t = {
  1. f : 'a. ('a, Format.formatter, unit) format -> 'a;
}

The type for logging functions.

Sourceval nil : t

nil is a logging function that drops logging.

Sourceval std : t

std is a logging function that format on Format.std_formatter and prepends messages by the executable basename.

Sourceval err : t

err is like std but formats on Format.err_formatter.

Sourceval time : t -> string -> (unit -> 'a) -> 'a

time l label f logs the processor time of f () on l.