Little changes to make g++ version 3.2 compile the src library. Problems remaining...
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logger.h
CommitLineData
4499ed26 1#ifndef ALIL3LOGGER_H
2#define ALIL3LOGGER_H
3
4#include "AliL3RootTypes.h"
5
118c26c3 6#if GCCVERSION == 3
7#include <fstream>
8#include <iosfwd>
9#else
10#include <fstream.h>
11#endif
12
108615fc 13class MLUCLogServer;
14class ofstream;
15
16class AliL3Logger{
17 public:
18 static int kAll;
19 static int kDebug;
20 static int kInformational;
21 static int kWarning;
22 static int kError;
23 static int kFatal;
24 AliL3Logger();
4499ed26 25 virtual ~AliL3Logger();
108615fc 26 void Set(int l);
27 void UnSet(int l);
28 void UseDevNull();
29 void UseStdout();
30 void UseStderr();
31 void UseStream(char *name="AliLevel3.log");
32 void NotUseDevNull();
33 void NotUseStdout();
34 void NotUseStderr();
35 void NotUseStream();
36 private:
4499ed26 37 MLUCLogServer *dn; //!
38 MLUCLogServer *so; //!
39 MLUCLogServer *se; //!
40 MLUCLogServer *sm; //!
118c26c3 41#if GCCVERSION == 3
42 std::ofstream *of; //!
43#else
44 ofstream *of; //!
45#endif
4499ed26 46
47 ClassDef(AliL3Logger,1)
108615fc 48};
49
4499ed26 50#endif
108615fc 51