summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Logger/logger_i.cpp
blob: 1813b3f3708284bc840b295971352634aefa8326 (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
// $Id$

#include "ace/streams.h"
#include "ace/ACE.h"
#include "orbsvcs/LoggerC.h"
#include "logger_i.h"

Logger_ptr 
Logger_Factory_i::make_logger (const char* name,
			       CORBA::Environment &_env) 
{
  Logger_i *l = new Logger_i (name);
  return l->_this (_env);
}

Logger_Factory_i::Logger_Factory_i (void)
{
}

Logger_i::Logger_i (const char* name)
  :  name_ (ACE_OS::strdup (name))
{
}

Logger_i::~Logger_i (void)
{
  ACE_OS::free (this->name_);
}

void 
Logger_i::log (const char* message, CORBA::Environment &_env)
{
}