AliRoot Core  3dc7879 (3dc7879)
AliFMDDebug.h
Go to the documentation of this file.
1 #ifndef ALIFMDDebug_H
2 #define ALIFMDDebug_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4  * reserved.
5  *
6  * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
7  *
8  * See cxx source for full Copyright notice
9  */
15 //____________________________________________________________________
16 //
17 // Some more clever declarations of Debug macros
18 //
19 #include <AliLog.h> // ALILOG_H
20 #ifdef LOG_NO_DEBUG
21 #define AliFMDDebug(N, A)
22 #else
23 
39 #define AliFMDDebug(N, A) \
40  do { \
41  if (!AliLog::IsDebugEnabled() || \
42  AliLog::GetDebugLevel(MODULENAME(), ClassName()) < N) break; \
43  AliLog::Debug(N, Form A, MODULENAME(), ClassName(), FUNCTIONNAME(), \
44  __FILE__, __LINE__); } while (false)
45 #endif
46 
47 #endif
48 //
49 // EOF
50 //