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.2.0.tbz
sha256=411d00b52c1826059d530655a4705360225cf8766745a62595c700dfe5af0a40
sha512=04e7f08c7dd1b9049ffb38618e51620bd87d36ca93ecb11bb677983b9483790e2fc2fe5bd3184997fff4964aa4d089d8714777300013dc92cde8530bfeb4eb07

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: 01 Nov 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 >= "3.0.0"
  4. ptime >= "0.8.1"
  5. logs >= "0.5.0"
  6. dune >= "1.0"
  7. ocaml >= "4.06.0"

Dev Dependencies (1)

  1. alcotest with-test

Conflicts

None

OCaml

Innovation. Community. Security.