]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliL3Logger.h
5a56d1a408ee8ac871df0d512ddb85a2849621ce
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logger.h
1 #ifndef ALIL3LOGGER_H
2 #define ALIL3LOGGER_H
3
4 #include "AliL3RootTypes.h"
5
6 class MLUCLogServer;
7 class ofstream;
8
9 class AliL3Logger{
10   public:
11   static int kAll;
12   static int kDebug;
13   static int kInformational;
14   static int kWarning;
15   static int kError;
16   static int kFatal;
17   AliL3Logger();
18   virtual ~AliL3Logger();
19   void Set(int l);
20   void UnSet(int l);
21   void UseDevNull();
22   void UseStdout();
23   void UseStderr();
24   void UseStream(char *name="AliLevel3.log");
25   void NotUseDevNull();
26   void NotUseStdout();
27   void NotUseStderr();
28   void NotUseStream();
29   private:
30   MLUCLogServer *dn; //!
31   MLUCLogServer *so; //!
32   MLUCLogServer *se; //!
33   MLUCLogServer *sm; //!
34   ofstream *of;      //!
35
36   ClassDef(AliL3Logger,1)
37 };
38
39 #endif
40