#include "Target.hh"
//#include "SyslogTarget.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
/** \brief Log target writing to the syslog
- The SyslogTarget will send all log messages to the syslog at the given facility.
+ The SyslogTarget will send all %log messages to the syslog at the given facility.
\code
senf::log::SyslogTarget syslog;
: public Target
{
public:
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
///\name Structors and default members
- ///@{
+ //\{
explicit SyslogTarget(int facility = LOG_USER);
- ///@}
- ///////////////////////////////////////////////////////////////////////////
+ //\}
+ //-////////////////////////////////////////////////////////////////////////
private:
void v_write(time_type timestamp, std::string const & stream,
private:
struct RegisterConsole {
RegisterConsole();
- static boost::shared_ptr<senf::console::DirectoryNode> create(
+ static boost::shared_ptr<console::DirectoryNode> create(
LogFacility facility);
static RegisterConsole instance;
};
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "SyslogTarget.cci"
//#include "SyslogTarget.ct"
//#include "SyslogTarget.cti"