package mirage-logs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

MirageOS support for the Logs library.

This is the default log reporter used by MirageOS.

val create : ?ch:Format.formatter -> unit -> Logs.reporter

create ~ch () is a Logs reporter that logs to ch (defaults to Format.err_formatter), with time-stamps provided by Clock.

If logs are written faster than the backend can consume them, the whole unikernel will block until there is space (so log messages will not be lost, but unikernels generating a lot of log output may run slowly).

OCaml

Innovation. Community. Security.