16 lines
351 B
C++
16 lines
351 B
C++
#if !defined(h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c)
|
|
#define h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c
|
|
|
|
#include <log4cpp/Layout.hh>
|
|
|
|
LOG4CPP_NS_BEGIN
|
|
class PassThroughLayout : public Layout
|
|
{
|
|
public:
|
|
virtual std::string format(const LoggingEvent& event) { return event.message; }
|
|
};
|
|
LOG4CPP_NS_END
|
|
|
|
|
|
#endif // h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c
|