#include <toast/logstream.hpp>
Public Types | |
typedef Alloc | allocator_type |
typedef CharT | char_type |
typedef Traits | traits_type |
typedef traits_type::int_type | int_type |
typedef traits_type::off_type | off_type |
typedef traits_type::pos_type | pos_type |
typedef basic_log_handle< CharT > | log_handle_type |
Public Member Functions | |
basic_logbuf (log::severity s=log::DEFAULT) | |
basic_logbuf (log_handle_type const &log, log::severity s=log::DEFAULT) | |
void | log (log_handle_type const &log) |
log_handle_type | log () const |
log::severity | severity () const |
void | severity (log::severity s) |
bool | check (log::severity s) const |
Protected Member Functions | |
virtual int | sync () |
virtual std::streamsize | xsputn (char_type const *s, std::streamsize n) |
virtual int_type | overflow (int_type meta=traits_type::eof()) |
Friends | |
template<typename T> | |
detail::proxy_logstream< CharT, Traits, Alloc > & | detail::proxy_logstream (T const &toStream) |