Class Dune::XT::Common::LogStream¶
-
class Dune::XT::Common::LogStream¶
std::ostream-compatible log stream owning a SuspendableStrBuffer, with suspend/resume and flush support
Method Dune::XT::Common::LogStream::flush¶
Method Dune::XT::Common::LogStream::suspend¶
-
void Dune::XT::Common::LogStream::suspend(PriorityType priority = default_suspend_priority)¶
forwards suspend to buffer the suspend_priority_ mechanism provides a way to silence streams from ‘higher’ modules no-op if already suspended *
Method Dune::XT::Common::LogStream::resume¶
-
void Dune::XT::Common::LogStream::resume(PriorityType priority = default_suspend_priority)¶
start accepting input into the buffer again no-op if not suspended *
Constructor Dune::XT::Common::LogStream::LogStream¶
-
explicit Dune::XT::Common::LogStream::LogStream(SuspendableStrBuffer *&&buffer)¶
No documentation provided.
Destructor Dune::XT::Common::LogStream::~LogStream¶
Variable Dune::XT::Common::LogStream::default_suspend_priority¶
-
const PriorityType Dune::XT::Common::LogStream::default_suspend_priority¶
No documentation provided.