PassThroughLayout.hh
Go to the documentation of this file.
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 namespace log4cpp
00007 {
00008    class PassThroughLayout : public Layout
00009    {
00010       public:
00011          virtual std::string format(const LoggingEvent& event) { return event.message; }
00012    };
00013 }
00014 
00015 #endif // h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung.
autogenerated on Thu Jan 2 2014 11:35:02