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.0.0.tbz
sha256=b3c52e71336c2756df1145e5466bbd9ccc95bad28207998f9b70949a9fc050ee
sha512=f5e4f71448478f6d49a63bf4f490d40ce6b45727acd4bdf0822ba48478ca65d65d8fbe55436eec904a7fcb01529f08d6d721fab10e9b9d1106b65080ee848031

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: 14 Apr 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

OCaml

Innovation. Community. Security.