]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliL3Logger.h
Set values to zero in constructor. Added print function.
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logger.h
1 // @(#) $Id$
2
3 #ifndef ALIL3LOGGER_H
4 #define ALIL3LOGGER_H
5
6 #include "AliL3RootTypes.h"
7 #include "AliL3StandardIncludes.h"
8
9 class MLUCLogServer;
10
11 class AliL3Logger {
12
13  public:
14  
15   AliL3Logger();
16   virtual ~AliL3Logger();
17
18   void Set(Int_t l);
19   void UnSet(Int_t l);
20   void UseDevNull();
21   void UseStdout();
22   void UseStderr();
23   void UseStream(char *name="AliLevel3.log");
24   void NotUseDevNull();
25   void NotUseStdout();
26   void NotUseStderr();
27   void NotUseStream();
28
29  protected:
30
31   static Int_t fgAll;   //level all
32   static Int_t fgDebug; //level debug
33   static Int_t fgInformational; //level info
34   static Int_t fgWarning; //level warning
35   static Int_t fgError; //level error
36   static Int_t fgFatal; //level fatal
37
38  private:
39
40   MLUCLogServer *fdn; //!
41   MLUCLogServer *fso; //!
42   MLUCLogServer *fse; //!
43   MLUCLogServer *fsm; //!
44 #if __GNUC__ == 3
45   std::ofstream *fof; //!
46 #else  
47   ofstream *fof; //!
48 #endif
49
50   ClassDef(AliL3Logger,1)
51 };
52
53 #endif
54