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-1.3.0.tbz
sha256=73561022eb6aa79f13473f9af5577febd142bf48e7191bc59de8bd06d49b3b10
sha512=726bf16283f732fe258e937ef6670cc547df3d361e1ff2783129ac7d16133bb0904ed3c4c6e35c149fd3f79d1c924eb16f7672e793190e5c8e92df74aa43cc65

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: 13 Mar 2023

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

  1. lwt
  2. mirage-clock >= "3.0.0"
  3. ptime >= "0.8.1"
  4. logs >= "0.5.0"
  5. dune >= "1.0"
  6. ocaml >= "4.06.0"

Dev Dependencies (1)

  1. alcotest with-test

Conflicts

None