package unic

All checked builds pass
  1. Overview
  2. Docs
A tool to infer what is needed to vendors to compile unikernels

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uniq-0.1.1.tbz
sha256=d7781ec4fedda463465b6c6fe99ab377a1a8f9c34a658a17d29a9b2fe414b85c
sha512=0cdd5273918d2c24f3ae6cb837650ca25d72ae0f714fc8d10238ae8f01572ae6dc2771f952a22cc4fc6981fcccd57e222f766aebfc39b0e8599078d6839e8a1d

doc/unic.cli/Unic_cli/Log/index.html

Module Unic_cli.LogSource

Log functions

val msg : Logs.level -> 'a Logs.log
val app : 'a Logs.log

app is msg App.

val err : 'a Logs.log

err is msg Error.

val warn : 'a Logs.log

warn is msg Warning.

val info : 'a Logs.log

info is msg Info.

val debug : 'a Logs.log

debug is msg Debug.

val kmsg : (unit -> 'b) -> Logs.level -> ('a, 'b) Logs.msgf -> 'b

Logging result value Errors

val on_error : ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> pp:(Format.formatter -> 'b -> unit) -> use:('b -> 'a) -> ('a, 'b) result -> 'a
val on_error_msg : ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> use:(unit -> 'a) -> ('a, [ `Msg of string ]) result -> 'a