X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_log.hpp;h=28545eb1202a4698eb2d791353b5d019f77e3389;hb=5e2daf376ef4adc403cf9c962bfeb2669741cacb;hp=d7ad4ed747d1aa67bf7a38276fdffb56e5bfef69;hpb=0d7d33a12b14cb26fdb922f42bb84dff33354ce7;p=metaproxy-moved-to-github.git diff --git a/src/filter_log.hpp b/src/filter_log.hpp index d7ad4ed..28545eb 100644 --- a/src/filter_log.hpp +++ b/src/filter_log.hpp @@ -1,4 +1,4 @@ -/* $Id: filter_log.hpp,v 1.9 2005-10-31 09:40:18 marc Exp $ +/* $Id: filter_log.hpp,v 1.10 2005-12-11 17:23:05 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -7,25 +7,20 @@ #ifndef FILTER_LOG_HPP #define FILTER_LOG_HPP -#include -#include +#include #include "filter.hpp" -#include - - namespace yp2 { namespace filter { class Log : public Base { + class Rep; + boost::scoped_ptr m_p; public: - Log(const std::string &msg); Log(); + Log(const std::string &x); + ~Log(); void process(yp2::Package & package) const; - private: - /// static mutex to lock Ostream during logging operation - static boost::mutex m_log_mutex; - std::string m_msg; }; } }