A reporter for the Logs library that writes log messages to stderr, using a Mirage `CLOCK` to add timestamps
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.
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 01 Nov 2019
- Authors
- Maintainers
Sources
mirage-logs-v1.2.0.tbz
sha256=411d00b52c1826059d530655a4705360225cf8766745a62595c700dfe5af0a40
sha512=04e7f08c7dd1b9049ffb38618e51620bd87d36ca93ecb11bb677983b9483790e2fc2fe5bd3184997fff4964aa4d089d8714777300013dc92cde8530bfeb4eb07
Dependencies
alcotest
with-test
mirage-clock
>= "3.0.0"
ptime
>= "0.8.1"
logs
>= "0.5.0"
dune
>= "1.0"
ocaml
>= "4.06.0"
Reverse Dependencies