package tcpip

  1. Overview
  2. Docs
OCaml TCP/IP networking stack, used in MirageOS

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-v6.4.0.tbz
sha256=6e32bf540d291e9b7325cb3dd00df2f695533e009c46ea534d5518b9492c7348
sha512=2e9f9ca2eeac637599eb48e087b4632598539f1c76f9251758995c7eedeb723f8b951d557a2a53b85a58d50a04e68e15598581f88fca8997733e800fcfca422b

doc/tcpip.udpv4v6-socket/Udpv4v6_socket/Log/index.html

Module Udpv4v6_socket.LogSource

Log functions

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

app is msg App.

Sourceval err : 'a Logs.log

err is msg Error.

Sourceval warn : 'a Logs.log

warn is msg Warning.

Sourceval info : 'a Logs.log

info is msg Info.

Sourceval debug : 'a Logs.log

debug is msg Debug.

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

Logging result value Errors

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

Innovation. Community. Security.