
Public Member Functions | |
| virtual | ~Formatter () |
| Provide virtual destructor. | |
| virtual std::vector < std::string > | format (Logger::Level level, const std::string &msg, std::string category, LOG4SENDPP_INT64 stamp, const LocationInformation *loginfo, const Logger::DiagnosticInformation *diaginfo)=0 |
| Formats a message. | |
Definition at line 48 of file formatter.h.
| virtual std ::vector< std ::string> l4snd::Formatter::format | ( | Logger::Level | level, | |
| const std::string & | msg, | |||
| std::string | category, | |||
| LOG4SENDPP_INT64 | stamp, | |||
| const LocationInformation * | loginfo, | |||
| const Logger::DiagnosticInformation * | diaginfo | |||
| ) | [pure virtual] |
Formats a message.
| level | severty level | |
| msg | string to log | |
| category | message category | |
| stamp | timestamp in milliseconds since 1.1.1970 | |
| loginfo | pointer to location info or 0 | |
| diaginfo | pointer to diagnostic info or 0 |
Implemented in l4snd::SimpleFormatter, and l4snd::XmlFormatter.
Referenced by l4snd::TcpIpAppender::append(), and l4snd::FileAppender::append().
1.5.3