Public Member Functions | |
LogOut2 (::coil::LogStream::streambuf_type *streambuf) | |
virtual | ~LogOut2 () |
Public Member Functions inherited from coil::log_stream< _CharT, _Traits > | |
void | disableLock () |
Disable the lock mode. More... | |
void | enableLock () |
Enable the lock mode. More... | |
int | getLevel () const |
Get the log level. More... | |
virtual void | header (int level) |
Message header appender function. More... | |
bool | isValid (int level) const |
Log level effective check. More... | |
ostream_type & | level (int level) |
Acquire log stream. More... | |
void | lock () |
Acquire log lock Acquire log lock when the lock mode is set. More... | |
log_stream (streambuf_type *sb, int levelmin, int levelmax, int level) | |
Constructor. More... | |
bool | setLevel (int level) |
Set the log level. More... | |
void | unlock () |
Release the log lock Release the log lock when the lock mode is set. More... | |
Additional Inherited Members | |
Public Types inherited from coil::log_stream< _CharT, _Traits > | |
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 Public Attributes inherited from coil::log_stream< _CharT, _Traits > | |
static bool | m_lockEnable = true |
Lock enable mode. More... | |
static Mutex | m_mutex |
Mutual exclusion object. More... | |
Protected Member Functions inherited from coil::log_stream< _CharT, _Traits > | |
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 186 of file LoggerTests.cpp.
|
inline |
Definition at line 192 of file LoggerTests.cpp.
|
inlinevirtual |
Definition at line 197 of file LoggerTests.cpp.