Plasma GitLab Archive
Projects Blog Knowledge

Module Netplex_cenv


module Netplex_cenv: sig .. end
Container environment

Some helper functions to explore the environment from a container


exception Not_in_container_thread
Raised when the caller's thread is not a container thread
val self_cont : unit -> Netplex_types.container
Returns the container running the code of the caller
val log : Netplex_types.level -> string -> unit
Writes a log message
val logf : Netplex_types.level -> ('a, unit, string, unit) format4 -> 'a
Writes a log message like printf
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml