|
enum | {
RTL_SILENT,
RTL_FATAL,
RTL_ERROR,
RTL_WARN,
RTL_INFO,
RTL_DEBUG,
RTL_TRACE,
RTL_VERBOSE,
RTL_PARANOID
} |
|
typedef _CharT | char_type |
|
typedef coil::Guard< Mutex > | Guard |
|
typedef coil::Mutex | Mutex |
|
typedef std::basic_ostream< char_type, traits_type > | ostream_type |
|
typedef std::basic_streambuf< char_type, traits_type > | streambuf_type |
|
typedef _Traits | traits_type |
|
static bool | m_lockEnable = true |
| Lock enable mode. More...
|
|
static Mutex | m_mutex |
| Mutual exclusion object. More...
|
|
std::string | getDate (void) |
| Get the current formatted date/time string Get the current datetime described by specified format. More...
|
|
int | strToLevel (const char *level) |
| Set the log level Set the log level corresponding to the given string. More...
|
|
| log_stream () |
| Default constructor. More...
|
|
| log_stream (const log_stream &x) |
| Copy Constructor. More...
|
|
log_stream & | operator= (const log_stream &x) |
| Assignment operator. More...
|
|
| ~log_stream () |
| Destructor. More...
|
|
Definition at line 46 of file SystemLoggerTests.cpp.
◆ LoggerMock()
◆ ~LoggerMock()
virtual Tests::LoggerMock::~LoggerMock |
( |
void |
| ) |
|
|
inlinevirtual |
◆ getDate()
std::string Tests::LoggerMock::getDate |
( |
void |
| ) |
|
|
inline |
◆ header()
void Tests::LoggerMock::header |
( |
int |
level | ) |
|
|
inlinevirtual |
Message prefix appender function.
Subclasses of this class should override this operation, and this function should be defined to append some prefix to the log messages.
Reimplemented from RTC::Logger.
Definition at line 71 of file SystemLoggerTests.cpp.
◆ setDateFormat()
void Tests::LoggerMock::setDateFormat |
( |
const char * |
format | ) |
|
|
inline |
◆ setName()
void Tests::LoggerMock::setName |
( |
const char * |
name | ) |
|
|
inline |
◆ strToLevel()
int Tests::LoggerMock::strToLevel |
( |
const char * |
level | ) |
|
|
inline |
◆ test_string()
std::string Tests::LoggerMock::test_string |
( |
void |
| ) |
|
|
inline |
◆ mock_m_dateFormat
std::string Tests::LoggerMock::mock_m_dateFormat |
◆ mock_m_name
std::string Tests::LoggerMock::mock_m_name |
The documentation for this class was generated from the following file: