Ocamlnet 3 Reference Manual : Netplex_types.controller_config

# Class type Netplex_types.controller_config

    class type controller_config = object .. end

    method socket_directory : string

The directory where Unix domain sockets are created. For every service a subdirectory is created, and the socket has the name of the protocol.

This is always an absolute path, even if it is only given as relative path in the config file.

    method create_logger : controller -> logger

Create a logger to be used for the whole Netplex system. The controller is already initialized which makes it possible to write the logger as Netplex service. Messages arriving during the creation are queued up and sent afterwards to the new logger.

    method max_level : level

Return the maximum global log level

    method set_max_level : level -> unit

Set the maximum global log level