17 #ifndef HH_SENF_Utils_Logger_SyslogUDPTarget_ 18 #define HH_SENF_Utils_Logger_SyslogUDPTarget_ 1 114 void syslog(
bool enabled=
true);
118 void v_write(
time_type timestamp, std::string
const & stream,
119 std::string
const & area,
unsigned level,
120 std::string
const & message);
122 void consoleFormat(std::ostream & os);
157 struct RegisterConsole {
159 static boost::shared_ptr<console::DirectoryNode> create(
161 static boost::shared_ptr<console::DirectoryNode> create(
163 static boost::shared_ptr<console::DirectoryNode> create(
165 static boost::shared_ptr<console::DirectoryNode> create(
167 static RegisterConsole instance;
bool syslog() const
true, if using syslog format, false otherwise
Log target writing UDP syslog packets.
config::time_type time_type
Logging target base class.
SyslogUDPTarget(INet4Address const &target, int facility=LOG_USER)