Class Dune::XT::Common::LogStream

Inherits from std::basic_ostream<char, std::char_traits<char>>.

class Dune::XT::Common::LogStream : public std::basic_ostream<char, std::char_traits<char>>

std::ostream-compatible log stream owning a SuspendableStrBuffer, with suspend/resume and flush support

LogStream &Dune::XT::Common::LogStream::flush()

dump buffer into file/stream and clear it

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 *

void Dune::XT::Common::LogStream::resume(PriorityType priority = default_suspend_priority)

start accepting input into the buffer again no-op if not suspended *

explicit Dune::XT::Common::LogStream::LogStream(SuspendableStrBuffer *&&buffer)

No documentation provided.

Dune::XT::Common::LogStream::~LogStream() override

No documentation provided.

const PriorityType Dune::XT::Common::LogStream::default_suspend_priority

No documentation provided.

type Dune::XT::Common::LogStream::StorageBaseType

No documentation provided.

type Dune::XT::Common::LogStream::BaseType

No documentation provided.

type Dune::XT::Common::LogStream::PriorityType

No documentation provided.