]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliL3Logging.h
This commit was generated by cvs2svn to compensate for changes in r3176,
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logging.h
CommitLineData
108615fc 1#ifndef ALIL3LOGGING_H
2#define ALIL3LOGGING_H
3
4#define use_logging
5
6#ifdef use_logging
7
8#include "/heim/franken/lib/MLUC/include/MLUCLog.hpp"
9#include "/heim/franken/lib/MLUC/include/MLUCLogServer.hpp"
10
11typedef MLUCLog AliL3Log;
12typedef MLUCLogServer AliL3LogServer;
13typedef MLUCDevNullLogServer AliL3DevNullLogServer;
14typedef MLUCStdoutLogServer AliL3StdoutLogServer;
15typedef MLUCStderrLogServer AliL3StderrLogServer;
16typedef MLUCStreamLogServer AliL3StreamLogServer;
17
18#else
19#include <iostream.h>
20class AliL3Log{
21 public:
22 enum TLogLevel { kNone = 0, kDebug= 0x01, kInformational = 0x02, kWarning = 0x04, kError = 0x08 , kFatal = 0x10, kPrimary = 0x80, kAll = 0x9F };
23 enum TLogCmd { kEnd, kPrec, kHex, kDec };
24};
25
26#define LOG( lvl, origin, keyword ) cerr
27
28#define ENDLOG endl
29
30#endif
31#endif // ALIL3LOGGING_H
32
33