log4cpp: PassThroughLayout.hh Source File

- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# 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