opam-version: "2.0"
synopsis: "Configuration loader for easy_logging with yojson backend"

maintainer: "mathiasmillet@gmail.com"
authors: "Mathias Millet"
license: "GPL-1.0-or-later"
homepage: "https://sapristi.github.io/easy_logging/"
bug-reports: "https://github.com/sapristi/easy_logging/issues"
dev-repo: "git+https://github.com/sapristi/easy_logging.git"
depends: [
  "ocaml" {>= "4.04.0"}
  "dune" {>= "1.0"}
  "ppx_deriving"{>= "4.0" & < "5.0"}
  "ppx_deriving_yojson"
  "easy_logging" {= "0.4"}
]
build: [
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "conf_loader/yojson"] {with-test}
]

description: """
     Provides deserialisation of logging configuration 
(loggers instantation and handlers parameters) from json,
using ppx_deriving_yojson.

-------

     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.
   * annotage log messages with tags
"""
url {
  src: "https://github.com/sapristi/easy_logging/tarball/v0.4"
  checksum: [
    "md5=dea0798a0e16c4c3adcd66284c78f02e"
    "sha512=cec0646fac2c3ef0bca8991053fb0f8867737b6809cb0b191fb806d69df50ddd42fac8dc3147fb5c7f070a8156188fd7f168699189c10a3cbd3d880f81da0fbf"
  ]
}
