version 1.32, 2008/05/07 19:41:42
|
version 1.33, 2008/05/15 17:24:34
|
|
|
#include <Pegasus/Common/System.h> | #include <Pegasus/Common/System.h> |
#include <Pegasus/Common/MessageLoader.h> | #include <Pegasus/Common/MessageLoader.h> |
| |
// The Logger::trace optimization introduces the PEG_LOGGER_TRACE macro which |
|
// propagates branch conditions wherever it is used. The optimization is |
|
// disabled for C-Cover builds so the coverage of these branches is not |
|
// measured. |
|
#ifdef PEGASUS_CCOVER |
|
# define PEG_LOGGER_TRACE(ARGS_LIST) \ |
|
Logger::trace ARGS_LIST |
|
#else |
|
# define PEG_LOGGER_TRACE(ARGS_LIST) \ |
|
do \ |
|
{ \ |
|
if (Logger::wouldLog(Logger::TRACE)) \ |
|
{ \ |
|
Logger::trace ARGS_LIST ; \ |
|
} \ |
|
} \ |
|
while (0) |
|
#endif |
|
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class LoggerRep; | class LoggerRep; |