|
Pol
Revision:cb584c9
|
#include <logfacility.h>
Inheritance diagram for Pol::Clib::Logging::LogFacility:Classes | |
| class | LogWorker |
Public Member Functions | |
| LogFacility () | |
| ~LogFacility () | |
| void | closeFlexLog (const std::string &id) |
| void | deinitializeStartLog () |
| void | disableDebugLog () |
| std::string | registerFlexLogger (const std::string &logfilename, bool open_timestamp) |
| void | registerSink (LogSink *sink) |
| template<typename Sink > | |
| void | save (fmt::Writer *message, const std::string &id) |
| void | wait_for_empty_queue () |
Static Public Attributes | |
| static bool | _vsDebuggerPresent = false |
Private Attributes | |
| std::vector< LogSink * > | _registered_sinks |
| std::unique_ptr< LogWorker > | _worker |
Definition at line 140 of file logfacility.h.
| Pol::Clib::Logging::LogFacility::LogFacility | ( | ) |
Definition at line 125 of file logfacility.cpp.
| Pol::Clib::Logging::LogFacility::~LogFacility | ( | ) |
Definition at line 128 of file logfacility.cpp.
References _registered_sinks, and _worker.
| void Pol::Clib::Logging::LogFacility::closeFlexLog | ( | const std::string & | id | ) |
Definition at line 172 of file logfacility.cpp.
References _worker.
| void Pol::Clib::Logging::LogFacility::deinitializeStartLog | ( | ) |
Definition at line 166 of file logfacility.cpp.
References _worker.
| void Pol::Clib::Logging::LogFacility::disableDebugLog | ( | ) |
Definition at line 160 of file logfacility.cpp.
References _worker.
| std::string Pol::Clib::Logging::LogFacility::registerFlexLogger | ( | const std::string & | logfilename, |
| bool | open_timestamp | ||
| ) |
Definition at line 179 of file logfacility.cpp.
References _worker.
| void Pol::Clib::Logging::LogFacility::registerSink | ( | LogSink * | sink | ) |
Definition at line 154 of file logfacility.cpp.
References _registered_sinks.
Referenced by Pol::Clib::Logging::getSink().
| void Pol::Clib::Logging::LogFacility::save | ( | fmt::Writer * | message, |
| const std::string & | id | ||
| ) |
Definition at line 138 of file logfacility.cpp.
References _worker.
Referenced by Pol::Clib::Logging::Message< Sink >::~Message().
| void Pol::Clib::Logging::LogFacility::wait_for_empty_queue | ( | ) |
Definition at line 197 of file logfacility.cpp.
References _worker.
Referenced by Pol::Clib::handleStackTraceRequestLinux(), Pol::Core::install_null_handler(), Pol::Core::install_signal_handlers(), Pol::Clib::ProgramMain::start(), and Pol::Clib::HiddenMiniDumper::TopLevelFilter().
|
private |
Definition at line 159 of file logfacility.h.
Referenced by registerSink(), and ~LogFacility().
|
static |
Definition at line 154 of file logfacility.h.
|
private |
Definition at line 157 of file logfacility.h.
Referenced by closeFlexLog(), deinitializeStartLog(), disableDebugLog(), registerFlexLogger(), save(), wait_for_empty_queue(), and ~LogFacility().