]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliHLTLogger.h
HLT hit's reconstruction included in the reconstruction chain (Indra)
[u/mrichter/AliRoot.git] / HLT / src / AliHLTLogger.h
1 // @(#) $Id$
2
3 #ifndef ALIL3LOGGER_H
4 #define ALIL3LOGGER_H
5
6 #include "AliHLTRootTypes.h"
7 #include "AliHLTStandardIncludes.h"
8
9 class MLUCLogServer;
10
11 class AliHLTLogger {
12
13  public:
14  
15   AliHLTLogger();
16   virtual ~AliHLTLogger();
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(AliHLTLogger,0)
51 };
52
53 typedef AliHLTLogger AliL3Logger; // for backward compatibility
54
55 #endif
56