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
Constructor Dune::XT::Common::Logging::SuspendLocal::SuspendLocal¶
-
explicit Dune::XT::Common::Logging::SuspendLocal::SuspendLocal(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
No documentation provided.
Destructor Dune::XT::Common::Logging::SuspendLocal::~SuspendLocal¶
-
Dune::XT::Common::Logging::SuspendLocal::~SuspendLocal()¶
No documentation provided.
Field Dune::XT::Common::Logging::SuspendLocal::prio_¶
-
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
Constructor Dune::XT::Common::Logging::ResumeLocal::ResumeLocal¶
-
explicit Dune::XT::Common::Logging::ResumeLocal::ResumeLocal(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
No documentation provided.
Destructor Dune::XT::Common::Logging::ResumeLocal::~ResumeLocal¶
-
Dune::XT::Common::Logging::ResumeLocal::~ResumeLocal()¶
No documentation provided.
Field Dune::XT::Common::Logging::ResumeLocal::prio_¶
-
LogStream::PriorityType Dune::XT::Common::Logging::ResumeLocal::prio_¶
No documentation provided.
Method Dune::XT::Common::Logging::deinit¶
Method Dune::XT::Common::Logging::operator=¶
Method Dune::XT::Common::Logging::create¶
-
void Dune::XT::Common::Logging::create(int logflags = LogDefault, const std::string &logfile, const std::string &datadir, const std::string &_logdir)¶
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
Method Dune::XT::Common::Logging::set_prefix¶
Method Dune::XT::Common::Logging::set_stream_flags¶
Method Dune::XT::Common::Logging::get_stream_flags¶
Method Dune::XT::Common::Logging::get_stream¶
Method Dune::XT::Common::Logging::error¶
Method Dune::XT::Common::Logging::info¶
Method Dune::XT::Common::Logging::debug¶
Method Dune::XT::Common::Logging::devnull¶
Method Dune::XT::Common::Logging::flush¶
Method Dune::XT::Common::Logging::add_stream¶
Method Dune::XT::Common::Logging::resume¶
-
void Dune::XT::Common::Logging::resume(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
re-enable all logging below given priority level
Method Dune::XT::Common::Logging::suspend¶
-
void Dune::XT::Common::Logging::suspend(LogStream::PriorityType prio = LogStream::default_suspend_priority)¶
(temporarily) disable all logging below given priority level
Constructor Dune::XT::Common::Logging::Logging¶
Constructor Dune::XT::Common::Logging::Logging¶
Destructor Dune::XT::Common::Logging::~Logging¶
Field Dune::XT::Common::Logging::filename_¶
Field Dune::XT::Common::Logging::filenameWoTime_¶
Field Dune::XT::Common::Logging::logfile_¶
Field Dune::XT::Common::Logging::flagmap_¶
Field Dune::XT::Common::Logging::streammap_¶
Field Dune::XT::Common::Logging::streamIDs_¶
Field Dune::XT::Common::Logging::logflags_¶
Field Dune::XT::Common::Logging::emptyLogStream_¶
-
EmptyLogStream Dune::XT::Common::Logging::emptyLogStream_¶
No documentation provided.