package loga

  1. Overview
  2. Docs
Logging library for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

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

README.md.html

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
OCaml

Innovation. Community. Security.