X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FAreaRegistry.ih;h=709b51ce6461f61f7e0ab324081458b3c43564db;hb=4e2b741f18b63e97ab4eef30fcee1dec999541be;hp=41ca82bed16e763c4b7eab28c034647098437d49;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/Utils/Logger/AreaRegistry.ih b/Utils/Logger/AreaRegistry.ih index 41ca82b..709b51c 100644 --- a/Utils/Logger/AreaRegistry.ih +++ b/Utils/Logger/AreaRegistry.ih @@ -30,8 +30,8 @@ #include #include #include -#include #include "Levels.hh" +#include "TimeSource.hh" ///////////////////////////////ih.p//////////////////////////////////////// @@ -47,7 +47,7 @@ namespace detail { /** \brief Internal: Area base class */ struct AreaBase { - virtual ~AreaBase() {}; + virtual ~AreaBase(); std::string fullName() const; virtual std::string v_name() const; @@ -57,7 +57,7 @@ namespace detail { unsigned limit(StreamBase const & stream) const; void updateRoutingCache(Target & target, StreamBase const & stream, unsigned limit) const; void removeRoutingCache(Target & target, StreamBase const & stream) const; - void write(boost::posix_time::ptime timestamp, StreamBase const & stream, unsigned level, + void write(time_type timestamp, StreamBase const & stream, unsigned level, std::string msg) const; private: