package omod

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

Install

Dune Dependency

Authors

Maintainers

Sources

omod-0.0.4.tbz
sha512=cab9e8ab6ca6e836fdaa3dcf9552d31e4de2bf069fcab096c1565d204ff91fc3516cd017a13702d749580bd3563c462db3277ab036cfc5d3cb9703a08ddbb927

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

Module Omod_support.Log

Logging.

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

The type for logging functions.

val nil : t

nil is a logging function that drops logging.

val std : t

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

val err : t

err is like std but formats on Format.err_formatter.

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

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

OCaml

Innovation. Community. Security.