summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-05 18:02:32 +0000
committerAlan Conway <aconway@apache.org>2010-03-05 18:02:32 +0000
commit952a527bd4e422de485154da9d38046629ea06b3 (patch)
treead5ea8ae851b52ade042ac627c7dce0a9bd85d53 /cpp/src/qpid/cluster/Cluster.h
parentc1b2598e8b48f54a38d0b4dfb5ffa705b65349af (diff)
downloadqpid-python-952a527bd4e422de485154da9d38046629ea06b3.tar.gz
Don't generate debug snapshot messages unless debug logging enabled.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919523 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.h')
-rw-r--r--cpp/src/qpid/cluster/Cluster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.h b/cpp/src/qpid/cluster/Cluster.h
index ffb870606a..3b12f43d54 100644
--- a/cpp/src/qpid/cluster/Cluster.h
+++ b/cpp/src/qpid/cluster/Cluster.h
@@ -120,8 +120,8 @@ class Cluster : private Cpg::Handler, public management::Manageable {
bool isElder() const;
- // For debugging only. Can only be called in deliver thread.
- void debugSnapshot(const char*, Connection* =0);
+ // Generates a log message for debugging purposes.
+ std::string debugSnapshot();
private:
typedef sys::Monitor::ScopedLock Lock;