X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FSyslogUDPTarget.cc;h=28eccd090e6838a8fb1fcf6c9d66ac8f22ad50a4;hb=47d8fe245087b57098115b66094872cfffb8cbed;hp=b5a04e50dd6703ebef5662e71b971035f3661d52;hpb=21be434729b552e31b856b2f42fc978062d0dd55;p=senf.git diff --git a/senf/Utils/Logger/SyslogUDPTarget.cc b/senf/Utils/Logger/SyslogUDPTarget.cc index b5a04e5..28eccd0 100644 --- a/senf/Utils/Logger/SyslogUDPTarget.cc +++ b/senf/Utils/Logger/SyslogUDPTarget.cc @@ -43,10 +43,10 @@ prefix_ void senf::log::SyslogUDPTarget::init() consoleDir().remove("format"); consoleDir() - .add("format", fty::Command(this, &SyslogUDPTarget::consoleFormat) + .add("format", fty::Command(&SyslogUDPTarget::consoleFormat, this) .doc("Show the current log message format.") ); consoleDir() - .add("syslog", fty::Command(this, SENF_MEMFNP(void, SyslogUDPTarget, syslog, (bool))) + .add("syslog", fty::Command(SENF_MEMBINDFNP(void, SyslogUDPTarget, syslog, (bool))) .arg("flag","new syslog format state", kw::default_value=true) .doc("Change the syslog format flag. By default, syslog formating is enabled. In this\n"