Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _LOG4CPP_LAYOUT_HH
00011 #define _LOG4CPP_LAYOUT_HH
00012
00013 #include <log4cpp/Portability.hh>
00014 #include <log4cpp/LoggingEvent.hh>
00015 #include <string>
00016
00017 namespace log4cpp {
00018
00022 class LOG4CPP_EXPORT Layout {
00023 public:
00027 virtual ~Layout() { };
00028
00035 virtual std::string format(const LoggingEvent& event) = 0;
00036 };
00037 }
00038
00039 #endif // _LOG4CPP_LAYOUT_HH