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-0.3.0.tbz
md5=7c3dda47d2c5cc2321b3369d66938017

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: 23 Feb 2017

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 (9)

  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. topkg build
  7. ocamlbuild build
  8. ocamlfind build
  9. ocaml >= "4.01.0"

Dev Dependencies (2)

  1. alcotest with-test
  2. lwt with-test & < "5.0.0"

Conflicts (1)

  1. mirage-types < "3.0.0"