]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/src/AliL3Logging.h
Changes to integrate the MLUC libs from
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logging.h
index 9141a6b8d9682c584c18590f1c47e1f0016d9ebe..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/L3Package/kip/MLUC/include/MLUCLog.hpp"
-#include "/prog/alice/level3/L3Package/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 */