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

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

dump buffer into file/stream and clear it

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

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

No documentation provided.

Variable Dune::XT::Common::LogStream::default_suspend_priority

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

No documentation provided.

Type alias Dune::XT::Common::LogStream::StorageBaseType

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

No documentation provided.

Type alias Dune::XT::Common::LogStream::BaseType

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

No documentation provided.

Type alias Dune::XT::Common::LogStream::PriorityType

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

No documentation provided.