Ocamlnet 4 Reference Manual : Rpc_server.Debug

# Module Rpc_server.Debug

    module Debug: sig .. end

    val enable : bool Stdlib.ref

Whether debug messages of general kind are enabled. See `Netlog.Debug` for more information.

    val enable_ctrace : bool Stdlib.ref

Whether debug messages are enabled that trace connection events. See `Netlog.Debug` for more information.

The "module name" for these messages is "Rpc_server.Ctrace".

    val enable_ptrace : bool Stdlib.ref

Whether the procedure trace is enabled. The procedure trace outputs for every RPC call and response a debug message. `ptrace_verbosity` says how verbose.

    val ptrace_verbosity : Rpc_util.verbosity Stdlib.ref

How verbose the ptrace is. Defaults to ``Name_abbrev_args`

    val disable_for_server : Rpc_server.t -> unit

Disables logging for this server