MIRA
|
Time format, used to write the time of the log entry to the log format. More...
#include <error/LogCustomizableFormatter.h>
Public Member Functions | |
Time (const std::string &iFormat=boost::local_time::local_time_facet::default_time_format) | |
void | format (const LogRecord &record, std::ostringstream &ioStream) |
Called by LogCustomizableFormatter whenever a new log entry is getting formatted. More... | |
Public Attributes | |
boost::shared_ptr< boost::posix_time::time_facet > | timeFacet |
Time format, used to write the time of the log entry to the log format.
|
inline |
iFormat | The format for the time to string conversion. (see http://www.boost.org/doc/libs/1_35_0/doc/html/date_time/date_time_io.html#date%5Ftime.format%5Fflags ) |
|
inlinevirtual |
Called by LogCustomizableFormatter whenever a new log entry is getting formatted.
Writes the formatted data to ioStream.
record | The log entry |
ioStream | The stream the formatted data gets written to. |
Implements LogCustomizableFormatter::CustomFormatBase.
boost::shared_ptr<boost::posix_time::time_facet> timeFacet |