Unit Test Framework C and Traditional C++ API Reference
Log Bitmap

Several definitions to handle Unit Test Framework verbosity with high granularity. More...

Macros

#define RTI_TEST_LOG_BIT_FATAL_ERROR   (0x00000001U)
 Log all fatal errors. More...
 
#define RTI_TEST_LOG_BIT_EXCEPTION   (0x00000002U)
 Log all exceptions. More...
 
#define RTI_TEST_LOG_BIT_WARN   (0x00000004U)
 Log all warnings. More...
 
#define RTI_TEST_LOG_BIT_LOCAL   (0x00000008U)
 Log what is happening due to local object creation and destruction. More...
 
#define RTI_TEST_LOG_BIT_REMOTE   (0x00000010U)
 Log what is happening due to what other applications (not necessarily on another host, but in different address space) are creating and destroying. More...
 
#define RTI_TEST_LOG_BIT_PERIODIC   (0x00000020U)
 Log periodic activities. This bit is used for periodic activities, such as sending a packet. Disabling this type of log message can significantly reduce logging output. More...
 
#define RTI_TEST_LOG_BITMAP_DEFAULT    (RTI_TEST_LOG_BIT_FATAL_ERROR | RTI_TEST_LOG_BIT_EXCEPTION)
 Default verbosity. Only fatal errors and exceptions will be printed. More...
 
#define RTI_TEST_LOG_BITMAP_NONE   (0x00000000U)
 Empty verbosity. Don't log anything. More...
 

Variables

RTITestLogBitmap RTITestLog_g_instrumentationMask
 Current log bitmap. More...
 

Detailed Description

Several definitions to handle Unit Test Framework verbosity with high granularity.

Macro Definition Documentation

◆ RTI_TEST_LOG_BIT_FATAL_ERROR

#define RTI_TEST_LOG_BIT_FATAL_ERROR   (0x00000001U)

Log all fatal errors.

◆ RTI_TEST_LOG_BIT_EXCEPTION

#define RTI_TEST_LOG_BIT_EXCEPTION   (0x00000002U)

Log all exceptions.

◆ RTI_TEST_LOG_BIT_WARN

#define RTI_TEST_LOG_BIT_WARN   (0x00000004U)

Log all warnings.

◆ RTI_TEST_LOG_BIT_LOCAL

#define RTI_TEST_LOG_BIT_LOCAL   (0x00000008U)

Log what is happening due to local object creation and destruction.

◆ RTI_TEST_LOG_BIT_REMOTE

#define RTI_TEST_LOG_BIT_REMOTE   (0x00000010U)

Log what is happening due to what other applications (not necessarily on another host, but in different address space) are creating and destroying.

◆ RTI_TEST_LOG_BIT_PERIODIC

#define RTI_TEST_LOG_BIT_PERIODIC   (0x00000020U)

Log periodic activities. This bit is used for periodic activities, such as sending a packet. Disabling this type of log message can significantly reduce logging output.

◆ RTI_TEST_LOG_BITMAP_DEFAULT

#define RTI_TEST_LOG_BITMAP_DEFAULT    (RTI_TEST_LOG_BIT_FATAL_ERROR | RTI_TEST_LOG_BIT_EXCEPTION)

Default verbosity. Only fatal errors and exceptions will be printed.

◆ RTI_TEST_LOG_BITMAP_NONE

#define RTI_TEST_LOG_BITMAP_NONE   (0x00000000U)

Empty verbosity. Don't log anything.

Variable Documentation

◆ RTITestLog_g_instrumentationMask

RTITestLogBitmap RTITestLog_g_instrumentationMask
extern

Current log bitmap.