#include "loggingLogger.h"
#include "loggingLogTrace.h"
#include "loggingGetLogger.h"
#include <iostream>
#include <acsutilTimeStamp.h>
Include dependency graph for loggingMACROS.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | LOG(priority, routine, text) |
#define | LOG_FULL(logPriority, logRoutine, logMessage, logAudience, logArray, logAntenna) |
#define | LOG_WITH_ANTENNA_CONTEXT(logPriority, logRoutine, logMessage, logArray, logAntenna) |
#define | LOG_TO_AUDIENCE(logPriority, logRoutine, logMessage, logAudience) |
#define | LOG_RECORD(logPriority, logMessage, logFile, logLine, logRoutine, logTime, logSource) |
#define | LOG_GLOBAL_RECORD(logPriority, logMessage, logFile, logLine, logRoutine, logTime) |
#define | STATIC_LOG(priority, routine, text) Logging::Logger::getStaticLogger()->log(priority, text, __FILE__, __LINE__, routine); |
#define | STATIC_LOG_RECORD(logPriority, logMessage, logFile, logLine, logRoutine, logTime) |
#define | AUTO_TRACE(routine) |
#define | AUTO_STATIC_TRACE(routine) Logging::LogTrace::LogTraceSmartPtr __autoTraceLogTraceSmartPtrInstance(new Logging::LogTrace(Logging::Logger::getStaticLogger(), routine, __FILE__, __LINE__)); |
|
This macro is static version of AUTO_TRACE macro that can be used inside a static methods where AUTO_TRACE does not work (it does not compile). For details see description of AUTO_TRACE macro.
|
|
Value: This macro creates a LogTrace object which in turn logs a trace message where it is immediately declared and then logs another trace message when it is destroyed. It can only be used once per namespace.
|
|
Value: Used to send logs. This macro is primarily useful because it automatically determines the file name and line number for the developer. It is important to note that getLogger() is defined in a header file other than what's included above. UPDATE: I just included the file, don't know why it wasn't included before.
|
|
Value: Used to send logs. This macro is primarily useful because it automatically determines the file name and line number for the developer.
|
|
Value: Used to publish a log record to the global logger. Useful for doing things like setting a specific time the log was sent (rather than letting ACS figure this out for you).
|
|
Value: Used to publish a log record. Useful for doing things like setting a specific time the log was sent (rather than letting ACS figure this out for you).
|
|
Value: Used to send logs. This macro is primarily useful because it automatically determines the file name and line number for the developer.
|
|
Value: Used to send logs. This macro is primarily useful because it automatically determines the file name and line number for the developer.
|
|
Used to send logs from a static context (such as from static methods). This macro is primarily useful because it automatically determines the file name and line number for the developer.
|
|
Value: Used to publish a log record from a static context. Useful for doing things like setting a specific time the log was sent (rather than letting ACS figure this out for you).
|