package git-kv

All checked builds pass
  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-kv-0.2.5.tbz
sha256=14f7de1992dfdc98e93eb20363906941eba0740b5147b51ba593f44bd685b0fc
sha512=1532e852381e5a1ce250c98c4a67df4e4016138c48b8d8b34e4c7155cb6d9e292e24fae0d5fc03ef43d9350b8c4da793945426da8d49453b515ac33044a436a4

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

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