MIRA
|
Uptime format, used to write the up-time of the logging core to the log format. More...
#include <error/LogCustomizableFormatter.h>
Public Member Functions | |
Uptime (const std::string &iFormat=boost::local_time::local_time_facet::default_time_duration_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 |
Uptime format, used to write the up-time of the logging core to the log format.
|
inline |
iFormat | The format for the time 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 |