00001 #if !defined(h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c) 00002 #define h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c 00003 00004 #include <log4cpp/Layout.hh> 00005 00006 LOG4CPP_NS_BEGIN 00007 class PassThroughLayout : public Layout 00008 { 00009 public: 00010 virtual std::string format(const LoggingEvent& event) { return event.message; } 00011 }; 00012 LOG4CPP_NS_END 00013 00014 00015 #endif // h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c