Index of values

A
add_custom_log [Dtools.Log]

Add a custom logging functions.

args [Dtools.Log]

A set of command line options to be used with the Arg module.

args [Dtools.Init]

A set of command line options to be used with the Arg module.

args [Dtools.Conf]

A set of command line options to be used with the Arg module.

as_bool [Dtools.Conf]
as_float [Dtools.Conf]
as_int [Dtools.Conf]
as_list [Dtools.Conf]

Casts to specificaly typed keys.

as_string [Dtools.Conf]
as_unit [Dtools.Conf]
at_start [Dtools.Init]

Same as make plus a shortcut for "after Init.start".

at_stop [Dtools.Init]

Same as make plus a shortcut for "before Init.stop".

B
bool [Dtools.Conf]
C
conf [Dtools.Log]
conf [Dtools.Init]
conf_catch_exn [Dtools.Init]
conf_concurrent [Dtools.Init]
conf_daemon [Dtools.Init]
conf_daemon_pidfile [Dtools.Init]
conf_daemon_pidfile_path [Dtools.Init]
conf_file [Dtools.Log]
conf_file [Dtools.Conf]

Read configuration values from the file associated with the given filename.

conf_file_append [Dtools.Log]
conf_file_path [Dtools.Log]
conf_file_perms [Dtools.Log]
conf_level [Dtools.Log]
conf_set [Dtools.Conf]

Add a value to the configuration keys, according to the given correctly formated string: "type key :value" Raises Wrong_Conf in badly formated cases.

conf_stdout [Dtools.Log]
conf_trace [Dtools.Init]
conf_unix_timestamps [Dtools.Log]
D
descr [Dtools.Conf]

Generate a description table of a (sub)key

dump [Dtools.Conf]

Dump the configuration table for a (sub)key

E
exec [Dtools.Init]

Launch the execution of a given init atom.

F
float [Dtools.Conf]
I
init [Dtools.Init]

This fuction must be used to launch the main procedure of the program.

int [Dtools.Conf]
L
list [Dtools.Conf]

Some key builders

M
make [Dtools.Log]

Make a logger labeled according to the given path.

make [Dtools.Init]

Define a init atom associated with the given (unit -> unit) procedure, which eventualy depends on others atoms (these atoms will be executed before the one currently defined) an triggers other atoms (these atoms will be executed after the one currently defined).

P
path_of_string [Dtools.Conf]

Convert a dot separated string to a path

R
rm_custom_log [Dtools.Log]

Remove a custom logging functions.

S
start [Dtools.Log]

An atom that starts the logging.

start [Dtools.Init]

Root start atom

stop [Dtools.Log]

An atom that stops the logging.

stop [Dtools.Init]

Root stop atom

string [Dtools.Conf]
string_of_path [Dtools.Conf]

Convert a path to a dot separated string

U
unit [Dtools.Conf]
V
void [Dtools.Conf]

A structural key builder