RTI Cloud Discovery Service Version 7.3.0
|
Provides control over the logging facilities for RTI Cloud Discovery Service. More...
Macros | |
#define | CDS_SUBMODULE_MASK_COMMON (0x0002) |
#define | CDS_SUBMODULE_MASK_CONFIG (0x0004) |
#define | CDS_SUBMODULE_MASK_ADAPTERS (0x0008) |
#define | CDS_SUBMODULE_MASK_PROCESSORS (0x0010) |
#define | CDS_SUBMODULE_MASK_MONITORING (0x0012) |
#define | CDS_SUBMODULE_MASK_SERVICE (0x0020) |
#define | CDS_SUBMODULE_MASK_SERVICEAPP (0x0040) |
#define | CDS_SUBMODULE_MASK_SERVICELIB (0x0060) |
#define | CDS_SUBMODULE_MASK_ALL RTI_LOG_SUBMODULE_MASK_ALL |
Functions | |
void | CDSLog_setDependencyInstrumentationMask (RTILogBitmap verbosity) |
Set a new bitmask value for the instrumentation bitmask of this module and those below it, using a convenient single verbosity value. More... | |
void | RTI_CDS_Logger_log (NDDS_Config_LogLevel log_level, const char *format,...) |
Logs a message with the specified level within the running instance of RTI Cloud Discovery Service. The message will be printed under the log of the currently executing RTI Cloud Discovery Service, if the instance was started with log_level or higher verbosity. More... | |
Variables | |
const int | RTI_CDS_LOG_VERBOSITY_DEBUG |
Log verbosity level: exceptions + warnings + info + periodic + content. More... | |
const int | RTI_CDS_LOG_VERBOSITY_ALL |
Log verbosity level: exceptions + warnings + info + periodic. More... | |
const int | RTI_CDS_LOG_VERBOSITY_INFO |
Log verbosity level: exceptions + warnings + info. More... | |
const int | RTI_CDS_LOG_VERBOSITY_WARNINGS |
Log verbosity level: exceptions + warnings. More... | |
const int | RTI_CDS_LOG_VERBOSITY_EXCEPTIONS |
Log verbosity level: exceptions. More... | |
const int | RTI_CDS_LOG_VERBOSITY_SILENT |
Log verbosity level: silent. More... | |
Provides control over the logging facilities for RTI Cloud Discovery Service.
#define CDS_SUBMODULE_MASK_COMMON (0x0002) |
Mask for turning on logging for only the common submodule
#define CDS_SUBMODULE_MASK_CONFIG (0x0004) |
Mask for turning on logging for only the config submodule
#define CDS_SUBMODULE_MASK_ADAPTERS (0x0008) |
Mask for turning on logging for only the adapter submodule
#define CDS_SUBMODULE_MASK_PROCESSORS (0x0010) |
Mask for turning on logging for only the processor submodule
#define CDS_SUBMODULE_MASK_MONITORING (0x0012) |
Mask for turning on logging for only the monitoring submodule
#define CDS_SUBMODULE_MASK_SERVICE (0x0020) |
Mask for turning on logging for only the service submodule
#define CDS_SUBMODULE_MASK_SERVICEAPP (0x0040) |
Mask for turning on logging for only the service app submodule
#define CDS_SUBMODULE_MASK_SERVICELIB (0x0060) |
Mask for turning on logging for only the service lib submodule
#define CDS_SUBMODULE_MASK_ALL RTI_LOG_SUBMODULE_MASK_ALL |
Mask for turning on logging for all submodules
void CDSLog_setDependencyInstrumentationMask | ( | RTILogBitmap | verbosity | ) |
Set a new bitmask value for the instrumentation bitmask of this module and those below it, using a convenient single verbosity value.
void RTI_CDS_Logger_log | ( | NDDS_Config_LogLevel | log_level, |
const char * | format, | ||
... | |||
) |
Logs a message with the specified level within the running instance of RTI Cloud Discovery Service. The message will be printed under the log of the currently executing RTI Cloud Discovery Service, if the instance was started with log_level
or higher verbosity.
The message is specified with a format and a format parameter, in a similar fashion to the standard C printf() operation.
The generated log will be part of logging stream of the running RTI Cloud Discovery Service, if the log_level
is part of the configured verbosity. The result log message may include additional information according to the Connext logging configuration, such as Advlog Context, thread ID, line number, etc. Additionally, the result log message will contain a newline character at the end, so the format does not need to contain it.
[in] | log_level | Log level associated to the message |
[in] | format | message format specification |
[in] | ... | variablelength argument (stdarg) |
const int RTI_CDS_LOG_VERBOSITY_DEBUG |
Log verbosity level: exceptions + warnings + info + periodic + content.
const int RTI_CDS_LOG_VERBOSITY_ALL |
Log verbosity level: exceptions + warnings + info + periodic.
const int RTI_CDS_LOG_VERBOSITY_INFO |
Log verbosity level: exceptions + warnings + info.
const int RTI_CDS_LOG_VERBOSITY_WARNINGS |
Log verbosity level: exceptions + warnings.
const int RTI_CDS_LOG_VERBOSITY_EXCEPTIONS |
Log verbosity level: exceptions.
const int RTI_CDS_LOG_VERBOSITY_SILENT |
Log verbosity level: silent.