18 lines
400 B
C++
18 lines
400 B
C++
|
|
/*
|
||
|
|
* Copyright 2002, Log4cpp Project. All rights reserved.
|
||
|
|
*
|
||
|
|
* See the COPYING file for the terms of usage and distribution.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <log4cpp/PassThroughLayout.hh>
|
||
|
|
#include <log4cpp/FactoryParams.hh>
|
||
|
|
#include <memory>
|
||
|
|
|
||
|
|
namespace log4cpp
|
||
|
|
{
|
||
|
|
std::auto_ptr<Layout> create_pass_through_layout(const FactoryParams& params)
|
||
|
|
{
|
||
|
|
return std::auto_ptr<Layout>(new PassThroughLayout);
|
||
|
|
}
|
||
|
|
}
|