Public Member Functions | |
std::string | getDate (void) |
void | header (int level) |
Message header appender function. | |
LogOut (::coil::LogStream::streambuf_type *streambuf) | |
virtual std::string & | prefix (std::string &prefix, int level) |
void | setDateFormat (const char *format) |
void | setName (const char *name) |
virtual | ~LogOut () |
Protected Member Functions | |
std::string | getFmtDate () |
Protected Attributes | |
std::string | m_dateFormat |
std::string | m_name |
Definition at line 107 of file LoggerTests.cpp.
Logger::LogOut::LogOut | ( | ::coil::LogStream::streambuf_type * | streambuf | ) | [inline] |
Definition at line 113 of file LoggerTests.cpp.
virtual Logger::LogOut::~LogOut | ( | ) | [inline, virtual] |
Definition at line 118 of file LoggerTests.cpp.
std::string Logger::LogOut::getDate | ( | void | ) | [inline] |
Definition at line 149 of file LoggerTests.cpp.
std::string Logger::LogOut::getFmtDate | ( | ) | [inline, protected] |
Definition at line 168 of file LoggerTests.cpp.
void Logger::LogOut::header | ( | int | level | ) | [inline, virtual] |
Message header appender function.
Subclasses of this class should override this operation, and this function should be defined to append some header to the log messages.
Reimplemented from coil::log_stream< _CharT, _Traits >.
Definition at line 138 of file LoggerTests.cpp.
virtual std::string& Logger::LogOut::prefix | ( | std::string & | prefix, |
int | level | ||
) | [inline, virtual] |
Definition at line 120 of file LoggerTests.cpp.
void Logger::LogOut::setDateFormat | ( | const char * | format | ) | [inline] |
Definition at line 134 of file LoggerTests.cpp.
void Logger::LogOut::setName | ( | const char * | name | ) | [inline] |
Definition at line 163 of file LoggerTests.cpp.
std::string Logger::LogOut::m_dateFormat [protected] |
Definition at line 183 of file LoggerTests.cpp.
std::string Logger::LogOut::m_name [protected] |
Definition at line 182 of file LoggerTests.cpp.