Changes to integrate the MLUC libs from
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logging.h
index f5ec5368be39e79796e9cbd168ac95c7d23843e4..d84534bdb94f8f590600e395a78e293957d90b3b 100644 (file)
@@ -1,12 +1,14 @@
+// @(#) $Id$
+
 #ifndef ALIL3LOGGING_H
 #define ALIL3LOGGING_H
 
-#define use_logging
+#include "AliL3RootTypes.h"
+#include "AliL3StandardIncludes.h"
 
 #ifdef use_logging
-
-#include "/prog/alice/level3/kip/MLUC/include/MLUCLog.hpp"
-#include "/prog/alice/level3/kip/MLUC/include/MLUCLogServer.hpp"
+#include <MLUCLog.hpp>
+#include <MLUCLogServer.hpp>
 
 typedef MLUCLog AliL3Log;
 typedef MLUCLogServer AliL3LogServer;
@@ -16,18 +18,7 @@ typedef MLUCStderrLogServer AliL3StderrLogServer;
 typedef MLUCStreamLogServer AliL3StreamLogServer;
 
 #else
-#include <iostream.h>
-class AliL3Log{
-  public:
-  enum TLogLevel { kNone = 0, kDebug= 0x01, kInformational = 0x02, kWarning = 0x04, kError = 0x08 , kFatal = 0x10, kPrimary = 0x80, kAll = 0x9F };
-  enum TLogCmd { kEnd, kPrec, kHex, kDec };
-};
-
-#define LOG( lvl, origin, keyword ) cerr<<"["<<origin<<": "<<keyword<<"] "
-
-#define ENDLOG endl
-
-#endif
-#endif // ALIL3LOGGING_H
-
 
+#include "AliL3Log.h"
+#endif /* use_logging */ 
+#endif /* ALIL3LOGGING_H */