2012-04-23 03:14:34 +02:00
|
|
|
//
|
|
|
|
// ApacheChannel.h
|
|
|
|
//
|
|
|
|
// $Id: //poco/1.4/ApacheConnector/include/ApacheChannel.h#2 $
|
|
|
|
//
|
|
|
|
// Copyright (c) 2006-2011, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-23 03:14:34 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef ApacheConnector_ApacheChannel_INCLUDED
|
|
|
|
#define ApacheConnector_ApacheChannel_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/Channel.h"
|
|
|
|
|
|
|
|
|
|
|
|
class ApacheChannel: public Poco::Channel
|
|
|
|
/// This class implements a logging channel
|
|
|
|
/// that uses the Apache logging facilities.
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ApacheChannel();
|
|
|
|
~ApacheChannel();
|
|
|
|
|
|
|
|
void log(const Poco::Message& msg);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ApacheConnector_ApacheChannel_INCLUDED
|