package loga

Not available on OCaml 5.5
  1. Overview
  2. Docs
Logging library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.0.5.tar.gz
md5=0591390535ee8816d29c68cf04b07e82
sha512=5e38b6a6318c42096df534f65b610848dfe3831f91d204dec64eed4591b36b8b890e6c32efa90b8367807f2f8f1b94c8c49cb0d9345bb74131d7897d921fd49d

Description

Added to opam-repository:

README

Loga

Loga

WIP

A logging library for OCaml.

HOW TO INSTALL

Clone this repository, then execute opam pin.

opam pin add loga . --strict

(TODO: Register to opam...)

How to use

Add a loga and loga.ppx to your dune file.

Example:

(libraries loga)
(preprocess (pps loga.ppx)

Then you can use logger like below!

let () =
    [%loga.info "Hello %s %d" "world" 42];

How to run

dune runtest

Dependencies (3)

  1. ocaml-migrate-parsetree >= "1.7.2" & < "2.0.0"
  2. ocaml >= "4.06.0"
  3. dune >= "2.5"

Dev Dependencies (1)

  1. ppx_expect with-test & >= "v0.11.0"

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building loga with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.0.5 (this version) good n/a n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure