package mirage-logs

  1. Overview
  2. Docs
A reporter for the Logs library that writes log messages to stderr, using a Mirage `CLOCK` to add timestamps

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-logs-v1.1.0.tbz
sha256=aadb2edceae9cefacb6c961023126ea8b380a28ef28971cccce528f3656a4795
sha512=b520fe838fd7016aa0d68c6b952e6ff20ffd3ebebd62f689d2c1d3b01682c5711af70a750561b20952ac00a8e1897379c598e5f331a6dc54673a9e060cd33acf

Description

It can also log only important messages to the console, while writing all received messages to a ring buffer which is displayed if an exception occurs.

If tracing is enabled (via mirage-profile), it also writes each log message to the trace buffer.

Tags

org:mirage

Published: 12 Jul 2019

README

Mirage-Logs

A reporter for the Logs library that writes log messages to stderr, using a Mirage CLOCK to add timestamps.

It can also log only important messages to the console, while writing all received messages to a ring buffer which is displayed if an exception occurs.

If Mirage tracing is enabled, it also writes each log message to the trace buffer.

See mirage_logs.mli for details.

Dependencies (7)

  1. lwt
  2. mirage-profile
  3. mirage-clock >= "1.2.0" & < "3.0.0"
  4. ptime >= "0.8.1"
  5. logs >= "0.5.0"
  6. dune >= "1.0"
  7. ocaml >= "4.01.0"

Dev Dependencies (1)

  1. alcotest with-test

Conflicts

None