Class Dune::XT::Common::Logging¶
-
class Dune::XT::Common::Logging¶
handles all logging
Struct Dune::XT::Common::Logging::SuspendLocal¶
-
struct Dune::XT::Common::Logging::SuspendLocal¶
RAII guard that suspends logging below prio on construction and resumes it on destruction
-
explicit Dune::XT::Common::Logging::SuspendLocal::SuspendLocal(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
No documentation provided.
-
Dune::XT::Common::Logging::SuspendLocal::~SuspendLocal()¶
No documentation provided.
-
LogStream::PriorityType Dune::XT::Common::Logging::SuspendLocal::prio_¶
No documentation provided.
Struct Dune::XT::Common::Logging::ResumeLocal¶
-
struct Dune::XT::Common::Logging::ResumeLocal¶
RAII guard that resumes logging below prio on construction and suspends it again on destruction
-
explicit Dune::XT::Common::Logging::ResumeLocal::ResumeLocal(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
No documentation provided.
-
Dune::XT::Common::Logging::ResumeLocal::~ResumeLocal()¶
No documentation provided.
-
LogStream::PriorityType Dune::XT::Common::Logging::ResumeLocal::prio_¶
No documentation provided.
-
void Dune::XT::Common::Logging::create(int logflags = LogDefault, const std::string &logfile =
<recovery-expr>("dune_xt_common_log"), const std::string &datadir =<recovery-expr>("data"), const std::string &_logdir =<recovery-expr>("log"))¶ setup loglevel, logfilename
:param logflags: any OR’d combination of flags :param logfile: filename for log, can contain paths, but creation will fail if dir is non-existant
-
void Dune::XT::Common::Logging::set_prefix(std::string prefix)¶
Warning
This will probably not do wht we want it to!
-
void Dune::XT::Common::Logging::set_stream_flags(int streamID, int flags)¶
No documentation provided.
-
int Dune::XT::Common::Logging::add_stream(int flags)¶
creates a new LogStream with given flags, returns new ID
-
void Dune::XT::Common::Logging::resume(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
re-enable all logging below given priority level
-
void Dune::XT::Common::Logging::suspend(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
(temporarily) disable all logging below given priority level
-
EmptyLogStream Dune::XT::Common::Logging::emptyLogStream_¶
No documentation provided.