]>
Commit | Line | Data |
---|---|---|
108615fc | 1 | class MLUCLogServer; |
2 | class ofstream; | |
3 | ||
4 | class AliL3Logger{ | |
5 | public: | |
6 | static int kAll; | |
7 | static int kDebug; | |
8 | static int kInformational; | |
9 | static int kWarning; | |
10 | static int kError; | |
11 | static int kFatal; | |
12 | AliL3Logger(); | |
13 | ~AliL3Logger(); | |
14 | void Set(int l); | |
15 | void UnSet(int l); | |
16 | void UseDevNull(); | |
17 | void UseStdout(); | |
18 | void UseStderr(); | |
19 | void UseStream(char *name="AliLevel3.log"); | |
20 | void NotUseDevNull(); | |
21 | void NotUseStdout(); | |
22 | void NotUseStderr(); | |
23 | void NotUseStream(); | |
24 | private: | |
25 | MLUCLogServer *dn; | |
26 | MLUCLogServer *so; | |
27 | MLUCLogServer *se; | |
28 | MLUCLogServer *sm; | |
29 | ofstream *of; | |
30 | }; | |
31 | ||
32 |