Message
Most of the applications in HOPS4 pass messages to stdout
via the messaging library. This library controls the verbosity and formatting
of program messages and has several configuration options that can be applied at either compile time or run time.
Compile Time Options
These following options can be toggled via ccmake
terminal GUI. If they are changed, the software must be re-built in order to take effect.
Option |
Description |
Default |
---|---|---|
ENABLE_DEBUG_MSG |
This option allows the user to entirely turn on/off additional debug messages by removing them from compilation. |
OFF |
ENABLE_EXTRA_VERBOSE_MSG |
When enabled, this option adds additional (file,line) origin information to all messages. |
OFF |
ENABLE_COLOR_MSG |
Enables color messages on the terminal, message color is determined by type (debug, info, status, warning, error, fatal). |
ON |
Run Time Options
Option |
Description |
---|---|
|
Limit the allowed message categories to only those which the user specifies. Available categories:
If not specified, all categories are allowed.
Multiple categories can be specified as a comma separate list (e.g. |
|
Message verbosity level, range: |
See the implementation details of the class hops::MHO_Message for further information on messaging configuration.