package dolog

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

This module aims to be used on the first line of each module: module Log = Log.Make(struct let section = "module-name" end)

Parameters

module Section : SECTION

Signature

val log : log_level -> ('a, out_channel, unit, unit) format4 -> 'a
val fatal : ('a, out_channel, unit) format -> 'a
val error : ('a, out_channel, unit) format -> 'a
val warn : ('a, out_channel, unit) format -> 'a
val info : ('a, out_channel, unit) format -> 'a
val debug : ('a, out_channel, unit) format -> 'a