]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliHLTLogger.h
compilation warnings corrected
[u/mrichter/AliRoot.git] / HLT / src / AliHLTLogger.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
4499ed26 3#ifndef ALIL3LOGGER_H
4#define ALIL3LOGGER_H
5
4aa41877 6#include "AliHLTRootTypes.h"
7#include "AliHLTStandardIncludes.h"
118c26c3 8
108615fc 9class MLUCLogServer;
108615fc 10
4aa41877 11class AliHLTLogger {
b1ed0288 12
13 public:
14
4aa41877 15 AliHLTLogger();
16 virtual ~AliHLTLogger();
b1ed0288 17
02f030e3 18 void Set(Int_t l);
19 void UnSet(Int_t l);
108615fc 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();
b1ed0288 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; //!
0bd0c1ef 44#if __GNUC__ == 3
b1ed0288 45 std::ofstream *fof; //!
118c26c3 46#else
b1ed0288 47 ofstream *fof; //!
118c26c3 48#endif
4499ed26 49
4aa41877 50 ClassDef(AliHLTLogger,0)
108615fc 51};
52
4aa41877 53typedef AliHLTLogger AliL3Logger; // for backward compatibility
54
4499ed26 55#endif
108615fc 56