]>
Commit | Line | Data |
---|---|---|
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 | public: | |
13 | static Int_t kAll; | |
14 | static Int_t kDebug; | |
15 | static Int_t kInformational; | |
16 | static Int_t kWarning; | |
17 | static Int_t kError; | |
18 | static Int_t kFatal; | |
19 | AliL3Logger(); | |
20 | virtual ~AliL3Logger(); | |
21 | void Set(Int_t l); | |
22 | void UnSet(Int_t l); | |
23 | void UseDevNull(); | |
24 | void UseStdout(); | |
25 | void UseStderr(); | |
26 | void UseStream(char *name="AliLevel3.log"); | |
27 | void NotUseDevNull(); | |
28 | void NotUseStdout(); | |
29 | void NotUseStderr(); | |
30 | void NotUseStream(); | |
31 | private: | |
32 | MLUCLogServer *dn; //! | |
33 | MLUCLogServer *so; //! | |
34 | MLUCLogServer *se; //! | |
35 | MLUCLogServer *sm; //! | |
36 | #if __GNUC__ == 3 | |
37 | std::ofstream *of; //! | |
38 | #else | |
39 | ofstream *of; //! | |
40 | #endif | |
41 | ||
42 | ClassDef(AliL3Logger,1) | |
43 | }; | |
44 | ||
45 | #endif | |
46 |