00001
00002
00003
00004
00005
00006
00007
00009 #ifndef TRIGCONFBASE_MSGSTREAMMACROS_H
00010 #define TRIGCONFBASE_MSGSTREAMMACROS_H 1
00011
00012
00013 #define TRG_MSG_LVL_NOCHK(lvl, x) \
00014 this->msg(lvl) << x << TrigConf::endmsgtc
00015
00016 #define TRG_MSG_LVL(lvl, x) \
00017 if (this->msgLvl (lvl)) {TRG_MSG_LVL_NOCHK(lvl, x);}
00018
00019 #define TRG_MSG_VERBOSE(x) TRG_MSG_LVL(TrigConf::MSGTC::VERBOSE, x)
00020 #define TRG_MSG_DEBUG(x) TRG_MSG_LVL(TrigConf::MSGTC::DEBUG, x)
00021
00022 #define TRG_MSG_INFO(x) TRG_MSG_LVL_NOCHK(TrigConf::MSGTC::INFO, x)
00023 #define TRG_MSG_WARNING(x) TRG_MSG_LVL_NOCHK(TrigConf::MSGTC::WARNING, x)
00024 #define TRG_MSG_ERROR(x) TRG_MSG_LVL_NOCHK(TrigConf::MSGTC::ERROR, x)
00025 #define TRG_MSG_FATAL(x) TRG_MSG_LVL_NOCHK(TrigConf::MSGTC::FATAL, x)
00026 #define TRG_MSG_ALWAYS(x) TRG_MSG_LVL_NOCHK(TrigConf::MSGTC::ALWAYS, x)
00027
00028
00029 #define TRG_MSG(lvl) \
00030 if (this->msgLvl(TrigConf::MSGTC::lvl)) this->msg(TrigConf::MSGTC::lvl)
00031
00032 #endif //> !TRIGCONFBASE_MSGSTREAMMACROS_H
00033