package vlt

  1. Overview
  2. Docs
A variant of Bolt logging tool

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.5.tar.gz
sha256=756a6cba94204cda45ee767ca5f7e52ec321873dd53de48025c32dba1e03de24
md5=c0f22efcafa1119a9c82ffd9d7422da2

doc/vlt/Vlt/Configuration/index.html

Module Vlt.ConfigurationSource

This module defines the contents of a configuration file.

Sourcetype value =
  1. | Identifier of string
    (*

    An identifier value.

    *)
  2. | Integer of int
    (*

    An integer value.

    *)
  3. | Float of float
    (*

    A float value.

    *)
  4. | String of string
    (*

    A string value, unescaped.

    *)
  5. | And of value * value
    (*

    v1 && v2

    *)
  6. | Or of value * value
    (*

    v1 || v2

    *)

The type of property values.

Sourcetype section = {
  1. name : Name.t;
    (*

    Section name.

    *)
  2. elements : (string * value) list;
    (*

    Key, value assocation list of section properties.

    *)
}

The type of a configuration section.

Sourcetype t = section list

The type of configuration file contents.

Sourceexception Exception of int * string

Exception to be raised if file loading fails. The first parameter is the line of the error, while the second parameter is a short description of the error.