Pol  Revision:cb584c9
Pol::Clib::Logging::LogSink_debuglog Class Reference

#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
 

Detailed Description

Definition at line 96 of file logfacility.h.

Constructor & Destructor Documentation

Pol::Clib::Logging::LogSink_debuglog::LogSink_debuglog ( )

Definition at line 415 of file logfacility.cpp.

virtual Pol::Clib::Logging::LogSink_debuglog::~LogSink_debuglog ( )
inlinevirtual

Member Function Documentation

void Pol::Clib::Logging::LogSink_debuglog::addMessage ( fmt::Writer *  msg)
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().

void Pol::Clib::Logging::LogSink_debuglog::addMessage ( fmt::Writer *  msg,
const std::string &  id 
)
virtual

Reimplemented from Pol::Clib::Logging::LogSinkGenericFile.

Definition at line 433 of file logfacility.cpp.

References addMessage().

void Pol::Clib::Logging::LogSink_debuglog::disable ( )

Member Data Documentation

bool Pol::Clib::Logging::LogSink_debuglog::Disabled = false
static

The documentation for this class was generated from the following files: