package easy_logging

  1. Overview
  2. Docs
Module to easily log messages

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4
md5=dea0798a0e16c4c3adcd66284c78f02e
sha512=cec0646fac2c3ef0bca8991053fb0f8867737b6809cb0b191fb806d69df50ddd42fac8dc3147fb5c7f070a8156188fd7f168699189c10a3cbd3d880f81da0fbf

Description

Logging infrastructure inspired by the Python logging module. The aim of this module is to provide a quick and easy to use logging infrastructure.

It has the following features :

  • one line logger creation
  • log messages printf style, or [string] or [string lazy_t]
  • tree logging architecture for light configuration
  • handlers associated to each logger will format and treat the message independantly.
  • annotage log messages with tags

Published: 05 Apr 2019

README

README.md

Logging module for OCaml.

Quick start :

open Easy_logging
logger = Logging.make_logger "my_logger" Debug [Cli Debug];;
logger#info "log_message";;

See documentation at https://sapristi.github.io/easy_logging/easy_logging

Dependencies (2)

  1. dune >= "1.0"
  2. ocaml >= "4.04.0"

Dev Dependencies

None

Used by (2)

  1. easy_logging_yojson < "0.5"
  2. little_logger < "0.3.0"

Conflicts

None