package easy_logging

  1. Overview
  2. Docs
Module to easily log messages

Install

Dune Dependency

Authors

Maintainers

Sources

rc0.1.5
md5=783d69ec2c9f0fe9a72f3edc8932bb26
sha512=3add23cd44387301f3514083fe7603f15b1530da11d86dc679ca7226b38417dc088d4cec6ea837b641f4af4cbadd3cc991bba68e5dd840d20be63d23eadad740

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 are either [string] or [string lazy_t]
  • log level adaptable at runtime from anywhere in the program
  • handlers associated to each logger will format and treat the message independantly.

Published: 21 Mar 2019

README

README.md

Logging module for OCaml.

Quick start :

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

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

Dependencies (3)

  1. ppx_deriving >= "4.2" & < "5.0"
  2. dune >= "1.0"
  3. ocaml >= "4.04.0"

Dev Dependencies

None

Used by (1)

  1. little_logger < "0.3.0"

Conflicts

None

OCaml

Innovation. Community. Security.