package git-kv

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-kv-0.2.3.tbz
sha256=f157c963642c427d5d4993109eeffebe1797ba149e0076afca07a2e589988bce
sha512=f2b6dc52c6e09bf2d9959b5eb8f8312441ff5f0e575416c5fd8794c46dea8b17e106cd874e9a5f07c4b362f6b15347467e8b49184293677795145c03a18f5eb7

doc/git-kv.mem/Git_store/Blob/Log/index.html

Module Blob.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