ATLAS Offline Software
Loading...
Searching...
No Matches
MsgUtil.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDETEVENTATHENAPOOL_MSGFIX
6#define INDETEVENTATHENAPOOL_MSGFIX
7
8//Defines similar to ATH_MSG_DEBUG and ATH_MSG_VERBOSE which accepts the MsgStream as an argument:
9#ifdef MSG_DEBUG
10#undef MSG_DEBUG
11#endif
12#ifdef MSG_VERBOSE
13#undef MSG_VERBOSE
14#endif
15#define MSG_DEBUG(log, x) \
16 do { if (log.level()<=MSG::DEBUG) { log << MSG::DEBUG << x << endmsg; } } while (0)
17#define MSG_VERBOSE(log, x) \
18 do { if (log.level()<=MSG::VERBOSE) { log << MSG::VERBOSE << x << endmsg; } } while (0)
19
20#endif