Classes | Namespaces | Macros | 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

 coil
 Common Object Interface Layer.
 
 Logger
 

Macros

#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-and.nosp@m.o@ai.nosp@m.st.go.nosp@m..jp

$Id$

Definition in file LoggerTests.cpp.

Macro Definition Documentation

◆ Logger_cpp

#define Logger_cpp

Definition at line 18 of file LoggerTests.cpp.

◆ RTC_LOG

#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(); \
}
std::string sprintf(char const *__restrict fmt,...)
Convert it into a format given with an argumen.
Definition: stringutil.cpp:598

Definition at line 209 of file LoggerTests.cpp.

◆ RTC_TRACE

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

Definition at line 217 of file LoggerTests.cpp.

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( Logger::LoggerTests  )


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:45