Changes to integrate the MLUC libs from
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logging.h
index 1f08bd79a54952d542cf6eb73167cc11967297c6..d84534bdb94f8f590600e395a78e293957d90b3b 100644 (file)
@@ -1,8 +1,12 @@
+// @(#) $Id$
+
 #ifndef ALIL3LOGGING_H
 #define ALIL3LOGGING_H
 
-#ifdef use_logging
+#include "AliL3RootTypes.h"
+#include "AliL3StandardIncludes.h"
 
+#ifdef use_logging
 #include <MLUCLog.hpp>
 #include <MLUCLogServer.hpp>
 
@@ -14,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 */