|
Public Types |
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 | {
SILENT,
ERROR,
WARN,
INFO,
NORMAL,
DEBUG,
TRACE,
VERBOSE,
PARANOID,
MANDATORY
} |
Public Member Functions |
| basic_logstream (__streambuf_type &streambuf) |
| basic_logbuf class constructor.
|
| ~basic_logstream () |
| basic_logstream class destractor.
|
void | setLogLevel (int level) |
void | setLogLock (int lock) |
void | enableLogLock () |
void | disableLogLock () |
__ostream_type & | level (int level) |
void | acquire () |
void | release () |
Static Public Member Functions |
int | strToLogLevel (std::string lv) |
std::string | printf (char const *__restrict fmt,...) |
| return a pointer of a current buffer. Formatted output like printf
|
Public Attributes |
__ostream_type | m_DummyStream |