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

#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)
{
}