]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
4499ed26 | 3 | #ifndef ALIL3LOGGER_H |
4 | #define ALIL3LOGGER_H | |
5 | ||
6 | #include "AliL3RootTypes.h" | |
3e87ef69 | 7 | #include "AliL3StandardIncludes.h" |
118c26c3 | 8 | |
108615fc | 9 | class MLUCLogServer; |
108615fc | 10 | |
11 | class AliL3Logger{ | |
12 | public: | |
02f030e3 | 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; | |
108615fc | 19 | AliL3Logger(); |
4499ed26 | 20 | virtual ~AliL3Logger(); |
02f030e3 | 21 | void Set(Int_t l); |
22 | void UnSet(Int_t l); | |
108615fc | 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: | |
4499ed26 | 32 | MLUCLogServer *dn; //! |
33 | MLUCLogServer *so; //! | |
34 | MLUCLogServer *se; //! | |
35 | MLUCLogServer *sm; //! | |
118c26c3 | 36 | #if GCCVERSION == 3 |
37 | std::ofstream *of; //! | |
38 | #else | |
39 | ofstream *of; //! | |
40 | #endif | |
4499ed26 | 41 | |
42 | ClassDef(AliL3Logger,1) | |
108615fc | 43 | }; |
44 | ||
4499ed26 | 45 | #endif |
108615fc | 46 |