|
VLink
2.0.0
A high-performance communication middleware
|
RAII helper backing SLOG_*; collects tokens and flushes on destruction.
更多...
#include <logger.h>
Public 成员函数 | |
| WrapperStream (Logger::NoDetail) noexcept | |
| WrapperStream (DetailInfo &&detail) noexcept | |
| WrapperStream (WrapperStream &&other) noexcept | |
| WrapperStream & | operator= (WrapperStream &&)=delete |
| ~WrapperStream () noexcept(LevelT !=Level::kFatal) | |
| template<typename T > | |
| WrapperStream & | operator<< (T &&t) noexcept |
静态 Public 属性 | |
| static constexpr bool | kIsEnabled = (LevelT >= kMinimumLevel && LevelT < Logger::kOff) |
| Static gate indicating whether the wrapper emits at the chosen level. 更多... | |
RAII helper backing SLOG_*; collects tokens and flushes on destruction.
When kIsEnabled is false at the chosen level the type and its methods compile to nothing, so disabled-level call sites have zero runtime overhead.
| LevelT | Compile-time severity level. |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
staticconstexpr |
Static gate indicating whether the wrapper emits at the chosen level.