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/ConfigurationNew/index.html

Module Vlt.ConfigurationNewSource

This module provides the function loading a configuration from a file in "new" format.

The file format is as follows:

  • the format is not line-oriented;
  • comments have the same syntax than in OCaml;
  • sections have the format logger "a.b.c" { key_1 = val_1; ... key_n = val_n; } where "a.b.c" is the name of the section and key_i/val_i pairs define the properties of the section.
Sourceval load : string -> Configuration.t

Loads the configuration from the passed file.

Raises Sys_error if an i/o error occurs, and Configuration.Exception if file cannot be parsed.