package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=66d7d29f7a0d10493b8178c4c3aeb247971e24fab3eba1c54887e1b9a82fe005
sha512=69ecf2406e4c7225ab7f8ebe11624db5d2ab989c8f30f5b6e5d426fd8ef9102f142a2840af16fb9103bb712ebcf7d314635f8b413a05df66e7b7a38548867032
doc/lambdapi.common/Common/Console/index.html
Module Common.ConsoleSource
Flag management.
out_fmt main output formatter.
Default verbosity level (may be set with command line arguments).
set_default_verbose i sets the default verbosity level to i.
out lvl fmt prints an output message using the format fmt, but only if lvl is strictly greater than the current verbosity level. Note that the output channel is automatically flushed if logging modes are enabled.
List of registered boolean flags, with their default values.
register_flag id d registers a new boolean flag named id, with default value of d. Note the name should not have been used previously.
set_flag id b sets the value of the flag named id to be b, or raises Not_found if no flag with this name was registered.
reset_default () resets the verbosity level and the state of the loggers to their default value (configurable by the user with command line flags). The boolean flags are also reset to their default values.