16 if (
const auto ret = m_impl.
useLog()) [[likely]]
31 if (
const auto ret = m_impl.
useLog(ll)) [[likely]]
std::ostream * lockLog() override
void unlockLog(bool flush) override
THE common namespace of bux library.
virtual void unuseLog(bool flush)=0
If the previous call to lockLog() returned null, the behavior is undefined.
virtual std::ostream * useLog()=0
Return non-null pointer if possible.