projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For filter_virt_db return proper diagnostics if backend closes connection
[metaproxy-moved-to-github.git]
/
src
/
filter_log.cpp
diff --git
a/src/filter_log.cpp
b/src/filter_log.cpp
index
2cc54a4
..
1e21fb7
100644
(file)
--- a/
src/filter_log.cpp
+++ b/
src/filter_log.cpp
@@
-1,4
+1,4
@@
-/* $Id: filter_log.cpp,v 1.6 2005-10-25 11:48:30 adam Exp $
+/* $Id: filter_log.cpp,v 1.7 2005-10-25 16:01:36 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-21,6
+21,7
@@
yp2::filter::Log::Log() {}
yp2::filter::Log::Log() {}
+yp2::filter::Log::Log(const std::string &msg) : m_msg(msg) {}
void yp2::filter::Log::process(Package &package) const {
void yp2::filter::Log::process(Package &package) const {
@@
-79,11
+80,6
@@
void yp2::filter::Log::process(Package &package) const {
}
}
}
}
-void yp2::filter::Log::set_prefix(const std::string &msg)
-{
- m_msg = msg;
-}
-
// defining and initializing static members
boost::mutex yp2::filter::Log::m_log_mutex;
// defining and initializing static members
boost::mutex yp2::filter::Log::m_log_mutex;