+// @(#) $Id$
+
#ifndef ALIL3LOGGER_H
#define ALIL3LOGGER_H
#include "AliL3RootTypes.h"
-
-#if GCCVERSION == 3
-#include <fstream>
-#include <iosfwd>
-#else
-#include <fstream.h>
-#endif
+#include "AliL3StandardIncludes.h"
class MLUCLogServer;
-class ofstream;
-
-class AliL3Logger{
- public:
- static int kAll;
- static int kDebug;
- static int kInformational;
- static int kWarning;
- static int kError;
- static int kFatal;
+
+class AliL3Logger {
+
+ public:
+
AliL3Logger();
virtual ~AliL3Logger();
- void Set(int l);
- void UnSet(int l);
+
+ void Set(Int_t l);
+ void UnSet(Int_t l);
void UseDevNull();
void UseStdout();
void UseStderr();
void NotUseStdout();
void NotUseStderr();
void NotUseStream();
- private:
- MLUCLogServer *dn; //!
- MLUCLogServer *so; //!
- MLUCLogServer *se; //!
- MLUCLogServer *sm; //!
-#if GCCVERSION == 3
- std::ofstream *of; //!
+
+ protected:
+
+ static Int_t fgAll; //level all
+ static Int_t fgDebug; //level debug
+ static Int_t fgInformational; //level info
+ static Int_t fgWarning; //level warning
+ static Int_t fgError; //level error
+ static Int_t fgFatal; //level fatal
+
+ private:
+
+ MLUCLogServer *fdn; //!
+ MLUCLogServer *fso; //!
+ MLUCLogServer *fse; //!
+ MLUCLogServer *fsm; //!
+#if __GNUC__ == 3
+ std::ofstream *fof; //!
#else
- ofstream *of; //!
+ ofstream *fof; //!
#endif
ClassDef(AliL3Logger,1)