|
Pol
Revision:cb584c9
|
#include <logfacility.h>
Inheritance diagram for Pol::Clib::Logging::LogSink_debuglog:Public Member Functions | |
| LogSink_debuglog () | |
| virtual | ~LogSink_debuglog () |
| virtual void | addMessage (fmt::Writer *msg) POL_OVERRIDE |
| virtual void | addMessage (fmt::Writer *msg, const std::string &id) POL_OVERRIDE |
| void | disable () |
Public Member Functions inherited from Pol::Clib::Logging::LogSinkGenericFile | |
| LogSinkGenericFile (const LogFileBehaviour *behaviour) | |
| LogSinkGenericFile () | |
| virtual | ~LogSinkGenericFile () |
| void | open_log_file (bool open_timestamp) |
| void | setBehaviour (const LogFileBehaviour *behaviour, std::string filename) |
Public Member Functions inherited from Pol::Clib::Logging::LogSink | |
| LogSink () | |
| virtual | ~LogSink () |
Static Public Attributes | |
| static bool | Disabled = false |
Additional Inherited Members | |
Static Public Member Functions inherited from Pol::Clib::Logging::LogSink | |
| static void | addTimeStamp (std::ostream &stream) |
| static std::string | getTimeStamp () |
Protected Member Functions inherited from Pol::Clib::Logging::LogSinkGenericFile | |
| bool | test_for_rollover (std::chrono::time_point< std::chrono::system_clock > &now) |
Protected Attributes inherited from Pol::Clib::Logging::LogSinkGenericFile | |
| bool | _active_line |
| const LogFileBehaviour * | _behaviour |
| std::ofstream | _filestream |
| std::chrono::time_point< std::chrono::system_clock > | _lasttimestamp |
| std::string | _log_filename |
| struct tm | _opened |
Definition at line 96 of file logfacility.h.
| Pol::Clib::Logging::LogSink_debuglog::LogSink_debuglog | ( | ) |
Definition at line 415 of file logfacility.cpp.
|
inlinevirtual |
Definition at line 100 of file logfacility.h.
References Pol::Clib::Logging::LogSinkGenericFile::addMessage(), and POL_OVERRIDE.
|
virtual |
Reimplemented from Pol::Clib::Logging::LogSinkGenericFile.
Definition at line 428 of file logfacility.cpp.
References Pol::Clib::Logging::LogSinkGenericFile::addMessage(), and Disabled.
Referenced by addMessage().
|
virtual |
Reimplemented from Pol::Clib::Logging::LogSinkGenericFile.
Definition at line 433 of file logfacility.cpp.
References addMessage().
| void Pol::Clib::Logging::LogSink_debuglog::disable | ( | ) |
Definition at line 418 of file logfacility.cpp.
References Pol::Clib::Logging::LogSinkGenericFile::_filestream, and Disabled.
|
static |
Definition at line 104 of file logfacility.h.
Referenced by addMessage(), Pol::Clib::Logging::LogSink_dual< log1, log2 >::addMessage(), and disable().