log_stream template class
More...
#include <Logger.h>
template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
class coil::log_stream< _CharT, _Traits >
log_stream template class
Definition at line 540 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Constructor.
Constructor
- Parameters
-
streambuf | basic_streambuf type object |
levelmin | minimum value for log level |
levelmax | maximum value for log level |
level | default log level |
Definition at line 577 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Default constructor.
Default constructor
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Copy Constructor.
Copy Constructor
- Parameters
-
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Log level effective check.
Check it whether an appointed log level is an effective range and return effective or invalidity.
- Parameters
-
- Returns
- true: Valid, false: Invalid
Definition at line 769 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Acquire log stream.
Investigate the specified log level and get its log stream. If the specified log level is under the set log level, this class will be returned. If the specified log level exceeds the set log level, a dummy log class will be returned.
- Parameters
-
level | The specified log level |
- Returns
- Target log stream
Definition at line 732 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Assignment operator.
Copy a log_stream object.
- Parameters
-
- Returns
- Assignment result.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Release the log lock Release the log lock when the lock mode is set.
Definition at line 805 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
The documentation for this class was generated from the following file: