blob: 10d64c32795c260a509e4a79428199fac75ec762 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef CIAO_LOGGER_SERVICE_H_
#define CIAO_LOGGER_SERVICE_H_
#include "CIAO_Logger_Export.h"
#include "ace/Service_Object.h"
namespace CIAO
{
class CIAO_Logger_Export Logger_Service : public ACE_Service_Object
{
public:
Logger_Service (void);
virtual int init (int argc, ACE_TCHAR * argv[]);
static int Initializer (void);
private:
void parse_args (int argc, ACE_TCHAR **argv);
ACE_TString filename_;
ACE_TString backend_;
bool trace_;
};
}
static int TAO_Requires_CIAO_Logger_Service_Initializer =
CIAO::Logger_Service::Initializer ();
typedef CIAO::Logger_Service CIAO_LOGGER_SERVICE;
ACE_STATIC_SVC_DECLARE (CIAO_LOGGER_SERVICE)
ACE_FACTORY_DECLARE (CIAO_Logger, CIAO_LOGGER_SERVICE)
#endif /*LOGGER_SERVICE_H_*/
|