CARMA C++
|
File layout class for CARMA logging. More...
#include <carma/util/Logger.h>
Inherits Layout.
Public Member Functions | |
FileLayout () | |
Default constructor for FileLayout. More... | |
virtual std::string | format (const log4cpp::LoggingEvent &event) |
Formats the LoggingEvent in FileLayout style: "Time {Priority} {Category} {Nested Diagnostic Context} {Message}", where Time is a FITS timestamp: yyyy-dd-mmThh:mm:ss.ss, Identity is the parameter passed to getFilelogger(), Nested Diagnostic Context is a context specific message, Priority corresponds to the priority levels used by syslog(3) ,. More... | |
virtual | ~FileLayout () |
Destructor for FileLayout. More... | |
carma::util::FileLayout::FileLayout | ( | ) |
Default constructor for FileLayout.
|
virtual |
Destructor for FileLayout.
|
virtual |
Formats the LoggingEvent in FileLayout style:
"Time {Priority} {Category} {Nested Diagnostic Context} {Message}", where
Time is a FITS timestamp: yyyy-dd-mmThh:mm:ss.ss,
Identity is the parameter passed to getFilelogger(),
Nested Diagnostic Context is a context specific message,
Priority corresponds to the priority levels used by syslog(3)
,.
event | The Logging Event generated by the Category method which passed the original log message. |