Classes | Namespaces | Defines | Functions
LoggerTests.cpp File Reference

Logger test class. More...

#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/TextOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/TestAssert.h>
#include <string>
#include <map>
#include <iostream>
#include <cstdlib>
#include <coil/Logger.h>
#include <coil/Task.h>
#include <coil/TimeMeasure.h>
#include <coil/stringutil.h>
#include <coil/Time.h>
#include <coil/Properties.h>
#include <coil/Mutex.h>
#include <coil/Guard.h>
Include dependency graph for LoggerTests.cpp:

Go to the source code of this file.

Classes

class  Logger::LogCreator
class  Logger::LoggerTests
 Logger test. More...
class  Logger::LogOut
class  Logger::LogOut2
class  Logger::LogOutCreator

Namespaces

namespace  coil
 

Common Object Interface Layer.


namespace  Logger

Defines

#define Logger_cpp
#define RTC_LOG(LV, fmt)
#define RTC_TRACE(fmt)   RTC_LOG(TRACE_LEVEL, fmt)

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (Logger::LoggerTests)

Detailed Description

Logger test class.

Date:
$Date$
Author:
Noriaki Ando <n-ando@aist.go.jp>

$Id$

Definition in file LoggerTests.cpp.


Define Documentation

#define Logger_cpp

Definition at line 18 of file LoggerTests.cpp.

#define RTC_LOG (   LV,
  fmt 
)
Value:
if (m_out.isValid(LV))                                   \
    {                                                      \
      m_out.lock();                                        \
      m_out.level(LV) << ::coil::sprintf fmt << std::endl; \
      m_out.unlock();                                      \
    }

Definition at line 205 of file LoggerTests.cpp.

#define RTC_TRACE (   fmt)    RTC_LOG(TRACE_LEVEL, fmt)

Definition at line 213 of file LoggerTests.cpp.


Function Documentation

CPPUNIT_TEST_SUITE_REGISTRATION ( Logger::LoggerTests  )


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:39