Implementation of CLog. More...
#include <log4cpp/Portability.hh>#include <log4cpp/Priority.hh>#include <stdio.h>#include <Base/GCBase.h>#include <Log/LogDll.h>
Go to the source code of this file.
Classes | |
| class | GENICAM_NAMESPACE::CLog |
| Helper class encapsulating log4cpp. More... | |
Namespaces | |
| GENICAM_NAMESPACE | |
| LOG4CPP_NS | |
Macros | |
| #define | GCLOGDEBUG(cat, ...) if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::DEBUG, ##__VA_ARGS__ ); } |
| #define | GCLOGERROR(cat, ...) if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::ERROR, ##__VA_ARGS__ ); } |
| #define | GCLOGINFO(cat, ...) if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::INFO, ##__VA_ARGS__ ); } |
| #define | GCLOGINFOPOP(cat, ...) if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::LogPop( cat, LOG4CPP_NS::Priority::INFO, ##__VA_ARGS__ ); } |
| #define | GCLOGINFOPUSH(cat, ...) if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::LogPush( cat, LOG4CPP_NS::Priority::INFO, ##__VA_ARGS__ ); } |
| #define | GCLOGWARN(cat, ...) if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::WARN, ##__VA_ARGS__ ); } |
Implementation of CLog.
Definition in file CLog.h.
| #define GCLOGDEBUG | ( | cat, | |
| ... | |||
| ) | if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::DEBUG, ##__VA_ARGS__ ); } |
| #define GCLOGERROR | ( | cat, | |
| ... | |||
| ) | if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::ERROR, ##__VA_ARGS__ ); } |
| #define GCLOGINFO | ( | cat, | |
| ... | |||
| ) | if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::INFO, ##__VA_ARGS__ ); } |
| #define GCLOGINFOPOP | ( | cat, | |
| ... | |||
| ) | if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::LogPop( cat, LOG4CPP_NS::Priority::INFO, ##__VA_ARGS__ ); } |
| #define GCLOGINFOPUSH | ( | cat, | |
| ... | |||
| ) | if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::LogPush( cat, LOG4CPP_NS::Priority::INFO, ##__VA_ARGS__ ); } |
| #define GCLOGWARN | ( | cat, | |
| ... | |||
| ) | if(GENICAM_NAMESPACE::CLog::Exists("")) { GENICAM_NAMESPACE::CLog::Log( cat, LOG4CPP_NS::Priority::WARN, ##__VA_ARGS__ ); } |