RTI Connext Traditional C++ API Version 7.2.0
|
Configure how much debugging information is reported during runtime and where it is logged. More...
Modules | |
Activity Context | |
Add contextual information to log messages. | |
Classes | |
struct | NDDS_Config_LogMessage |
Log message. More... | |
class | NDDSConfigLoggerDevice |
<<interface>> Logging device interface. Use for user-defined logging devices. More... | |
class | NDDSConfigLogger |
<<interface>> The singleton type used to configure RTI Connext logging. More... | |
Configure how much debugging information is reported during runtime and where it is logged.
The verbosities at which RTI Connext diagnostic information is logged.
enum NDDS_Config_LogLevel |
Level category assigned to RTI Connext log messages returned to an output device.
Syslog level category assigned to RTI Connext log messages.
Enumerator | |
---|---|
NDDS_CONFIG_SYSLOG_LEVEL_EMERGENCY | System is unusable. Equivalent to NDDS_CONFIG_LOG_LEVEL_FATAL_ERROR. |
NDDS_CONFIG_SYSLOG_LEVEL_ALERT | Should be corrected immediately. RTI Connext does not produce these messages. |
NDDS_CONFIG_SYSLOG_LEVEL_CRITICAL | Critical conditions. RTI Connext does not produce these messages. |
NDDS_CONFIG_SYSLOG_LEVEL_ERROR | Error conditions. Equivalent to NDDS_CONFIG_LOG_LEVEL_ERROR. |
NDDS_CONFIG_SYSLOG_LEVEL_WARNING | May indicate that an error will occur if action is not taken. Equivalent to NDDS_CONFIG_LOG_LEVEL_WARNING. |
NDDS_CONFIG_SYSLOG_LEVEL_NOTICE | Events that are unusual, but not error conditions. RTI Connext does not produce these messages. |
NDDS_CONFIG_SYSLOG_LEVEL_INFORMATIONAL | Normal operational messages that require no action. Equivalent to NDDS_CONFIG_LOG_LEVEL_STATUS_LOCAL and NDDS_CONFIG_LOG_LEVEL_STATUS_REMOTE. |
NDDS_CONFIG_SYSLOG_LEVEL_DEBUG | Information useful to developers for debugging the application. Equivalent to NDDS_CONFIG_LOG_LEVEL_DEBUG. |
Categories of logged messages.
The NDDSConfigLogger::get_verbosity_by_category and NDDSConfigLogger::set_verbosity_by_category can be used to specify different verbosities for different categories of messages.
The format used to output RTI Connext diagnostic information.
Enumerator | |
---|---|
NDDS_CONFIG_LOG_PRINT_FORMAT_DEFAULT | (default) Print message, method name, log level, Activity Context (what was happening when the event occurred), and logging category. |
NDDS_CONFIG_LOG_PRINT_FORMAT_TIMESTAMPED | Print message, method name, log level, Activity Context, logging category, and timestamp. |
NDDS_CONFIG_LOG_PRINT_FORMAT_VERBOSE | Print message with all available context information (includes thread identifier, message location). |
NDDS_CONFIG_LOG_PRINT_FORMAT_VERBOSE_TIMESTAMPED | Print message with all available context information, and timestamp. |
NDDS_CONFIG_LOG_PRINT_FORMAT_DEBUG | Print a set of fields (including message number and backtrace information) that may be useful for internal debugging. |
NDDS_CONFIG_LOG_PRINT_FORMAT_MINIMAL | Print only message number and message location. |
NDDS_CONFIG_LOG_PRINT_FORMAT_MAXIMAL | Print all available fields. |
A number that identifies the source of a log message.
In the Syslog Protocol, the Facility is a numerical code that represents the machine process that created a Syslog event. RTI Connext uses the facility to represent the source of a given log message.
The Syslog verbosities at which RTI Connext diagnostic information is logged.
Enumerator | |
---|---|
NDDS_CONFIG_SYSLOG_VERBOSITY_SILENT | No output will be logged. Equivalent to NDDS_CONFIG_LOG_VERBOSITY_SILENT. |
NDDS_CONFIG_SYSLOG_VERBOSITY_EMERGENCY | Only fatal log messages will be logged. Only log messages with NDDS_Config_LogLevel equals to NDDS_CONFIG_LOG_LEVEL_FATAL_ERROR will be part of this Syslog verbosity level. |
NDDS_CONFIG_SYSLOG_VERBOSITY_ALERT | Only fatal log messages will be logged. Equivalent to NDDS_CONFIG_SYSLOG_VERBOSITY_EMERGENCY. |
NDDS_CONFIG_SYSLOG_VERBOSITY_CRITICAL | Only fatal log messages will be logged. Equivalent to NDDS_CONFIG_SYSLOG_VERBOSITY_EMERGENCY. |
NDDS_CONFIG_SYSLOG_VERBOSITY_ERROR | Only error and fatal error messages will be logged. Only log messages with NDDS_Config_LogLevel equals to NDDS_CONFIG_LOG_LEVEL_FATAL_ERROR or NDDS_CONFIG_LOG_LEVEL_ERROR will be part of this Syslog verbosity level. |
NDDS_CONFIG_SYSLOG_VERBOSITY_WARNING | Fatal, error and warning messages will be logged. Only log messages with NDDS_Config_LogLevel equals to NDDS_CONFIG_LOG_LEVEL_FATAL_ERROR, NDDS_CONFIG_LOG_LEVEL_ERROR or NDDS_CONFIG_LOG_LEVEL_WARNING will be part of this Syslog verbosity level. |
NDDS_CONFIG_SYSLOG_VERBOSITY_NOTICE | Fatal, error and warning messages will be logged. Equivalent to NDDS_CONFIG_SYSLOG_VERBOSITY_WARNING. |
NDDS_CONFIG_SYSLOG_VERBOSITY_INFORMATIONAL | Local, remote, fatal, error and warning messages will be logged. Only log messages with NDDS_Config_LogLevel equals to NDDS_CONFIG_LOG_LEVEL_FATAL_ERROR, NDDS_CONFIG_LOG_LEVEL_ERROR, NDDS_CONFIG_LOG_LEVEL_WARNING, NDDS_CONFIG_LOG_LEVEL_STATUS_LOCAL or NDDS_CONFIG_LOG_LEVEL_STATUS_REMOTE will be part of this Syslog verbosity level. |
NDDS_CONFIG_SYSLOG_VERBOSITY_DEBUG | All messages will be logged. |