|
Public Types |
| typedef _CharT | char_type |
| typedef _Traits | traits_type |
typedef basic_logbuf< char_type,
traits_type > | __logbuf_type |
typedef basic_dummybuf< char_type,
traits_type > | __dummybuf_type |
typedef basic_logstream< char_type,
traits_type > | __logstream_type |
typedef std::basic_ostream<
char_type, traits_type > | __ostream_type |
typedef std::basic_streambuf<
char_type, traits_type > | __streambuf_type |
| enum | {
RTL_SILENT,
RTL_ERROR,
RTL_WARN,
RTL_INFO,
RTL_NORMAL,
RTL_DEBUG,
RTL_TRACE,
RTL_VERBOSE,
RTL_PARANOID,
RTL_MANDATORY
} |
Public Member Functions |
| | basic_logstream (__streambuf_type &streambuf) |
| | basic_logbuf class constructor.
|
| | ~basic_logstream () |
| | basic_logstream class destractor.
|
| void | setLogLevel (const std::string &level) |
| void | setLogLevel (int level) |
| void | setLogLock (bool lock) |
| void | enableLogLock () |
| void | disableLogLock () |
| __ostream_type & | level (int level) |
| void | acquire () |
| void | release () |
Static Public Member Functions |
| static int | strToLogLevel (const std::string &lv) |
| static std::string | printf (char const *__restrict fmt,...) |
| | return a pointer of a current buffer. Formatted output like printf
|
Public Attributes |
| __ostream_type | m_DummyStream |