package mirage-logs

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

Parameters

Signature

val create : ?ch:Stdlib.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.