Class Dune::XT::Common::TimedPrefixedLogStream¶
Inherits from std::basic_ostream<char, std::char_traits<char>>.
-
class Dune::XT::Common::TimedPrefixedLogStream : public std::basic_ostream<char, std::char_traits<char>>¶
A std::ostream compatible stream that begins every line by printing elapsed time and prefix. Given a Timer, a prefix and a std::ostream compatible stream this class prints any input to the given stream prepending each line by the elapsed time and the given prefix:
Note
This class is intended to be used by TimedLogManager.
-
Dune::XT::Common::TimedPrefixedLogStream::TimedPrefixedLogStream(const int &timer, const std::string &prefix, std::ostream &outstream)¶
No documentation provided.
-
Dune::XT::Common::TimedPrefixedLogStream::~TimedPrefixedLogStream() override¶
No documentation provided.
-
type Dune::XT::Common::TimedPrefixedLogStream::StorageBaseType¶
No documentation provided.
-
type Dune::XT::Common::TimedPrefixedLogStream::OstreamBaseType¶
No documentation provided.