X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FSyslogTarget.hh;h=eeebbb93da9d9b7dc8072c414b49d45d1ae127d8;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=0049f59fd46661a79b7f2ebb6a3ce398e41dadfb;hpb=6cfb0a8ca46d3cb0cc521a75118027ecc3fa4ef1;p=senf.git diff --git a/Utils/Logger/SyslogTarget.hh b/Utils/Logger/SyslogTarget.hh index 0049f59..eeebbb9 100644 --- a/Utils/Logger/SyslogTarget.hh +++ b/Utils/Logger/SyslogTarget.hh @@ -28,12 +28,16 @@ // Custom includes #include +#include #include "Target.hh" //#include "SyslogTarget.mpp" ///////////////////////////////hh.p//////////////////////////////////////// namespace senf { + + namespace console { class DirectoryNode; } + namespace log { /** \brief Log target writing to the syslog @@ -118,7 +122,8 @@ namespace log { private: struct RegisterConsole { RegisterConsole(); - static void create(LogFacility facility); + static boost::shared_ptr create( + LogFacility facility); static RegisterConsole instance; }; };