Pol  Revision:4b29d2b
Pol::Clib::Logging::LogSink_flexlog Class Reference

#include <logfacility.h>

+ Inheritance diagram for Pol::Clib::Logging::LogSink_flexlog:

Public Member Functions

 LogSink_flexlog ()
 
virtual ~LogSink_flexlog ()
 
virtual void addMessage (fmt::Writer *msg) POL_OVERRIDE
 
virtual void addMessage (fmt::Writer *msg, const std::string &id) POL_OVERRIDE
 
void close (const std::string &id)
 
std::string create (std::string logfilename, bool open_timestamp)
 
- Public Member Functions inherited from Pol::Clib::Logging::LogSink
 LogSink ()
 
virtual ~LogSink ()
 

Private Attributes

std::map< std::string, std::shared_ptr< LogSinkGenericFile > > _logfiles
 

Additional Inherited Members

- Static Public Member Functions inherited from Pol::Clib::Logging::LogSink
static void addTimeStamp (std::ostream &stream)
 
static std::string getTimeStamp ()
 

Detailed Description

Definition at line 115 of file logfacility.h.

Constructor & Destructor Documentation

Pol::Clib::Logging::LogSink_flexlog::LogSink_flexlog ( )

Definition at line 441 of file logfacility.cpp.

Pol::Clib::Logging::LogSink_flexlog::~LogSink_flexlog ( )
virtual

Definition at line 442 of file logfacility.cpp.

Member Function Documentation

void Pol::Clib::Logging::LogSink_flexlog::addMessage ( fmt::Writer *  msg)
virtual

Implements Pol::Clib::Logging::LogSink.

Definition at line 466 of file logfacility.cpp.

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

Implements Pol::Clib::Logging::LogSink.

Definition at line 458 of file logfacility.cpp.

References _logfiles.

void Pol::Clib::Logging::LogSink_flexlog::close ( const std::string &  id)

Definition at line 472 of file logfacility.cpp.

References _logfiles.

std::string Pol::Clib::Logging::LogSink_flexlog::create ( std::string  logfilename,
bool  open_timestamp 
)

Definition at line 445 of file logfacility.cpp.

References _logfiles.

Member Data Documentation

std::map<std::string, std::shared_ptr<LogSinkGenericFile> > Pol::Clib::Logging::LogSink_flexlog::_logfiles
private

Definition at line 126 of file logfacility.h.

Referenced by addMessage(), close(), and create().


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