X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FTarget.ih;h=a0838719b46757d5f7f93247aa1e9af738c34bc7;hb=cf377fea0ec95f51bd4816b08b8b173b536ef949;hp=9ef0e0ef8655c4205876115ee2eb073599ea9c7b;hpb=345f95ca91ab48a8333fbdabb515b16e8d6d8a5d;p=senf.git diff --git a/Utils/Logger/Target.ih b/Utils/Logger/Target.ih index 9ef0e0e..a083871 100644 --- a/Utils/Logger/Target.ih +++ b/Utils/Logger/Target.ih @@ -23,12 +23,11 @@ /** \file \brief Target internal header */ -#ifndef IH_Target_ -#define IH_Target_ 1 +#ifndef IH_SENF_Utils_Logger_Target_ +#define IH_SENF_Utils_Logger_Target_ 1 // Custom includes #include -#include #include #include @@ -46,9 +45,7 @@ namespace detail { using senf::singleton::instance; void write(StreamBase const & stream, AreaBase const & area, unsigned level, - std::string msg); - - void timeSource(std::auto_ptr source); + std::string const & msg); void routed(); bool fallbackRouting(); @@ -61,7 +58,6 @@ namespace detail { typedef std::set Targets; Targets targets_; - boost::scoped_ptr timeSource_; bool fallbackRouting_; @@ -71,7 +67,7 @@ namespace detail { /** \brief Internal: Write log message */ template - void write(std::string msg); + void write(std::string const & msg); #ifndef DOXYGEN