diff options
Diffstat (limited to 'sca-cpp/trunk/components/log')
-rw-r--r-- | sca-cpp/trunk/components/log/scribe.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sca-cpp/trunk/components/log/scribe.hpp b/sca-cpp/trunk/components/log/scribe.hpp index 5237bd0183..1e0ce46511 100644 --- a/sca-cpp/trunk/components/log/scribe.hpp +++ b/sca-cpp/trunk/components/log/scribe.hpp @@ -65,18 +65,23 @@ namespace scribe { class Scribe { public: Scribe() : owner(false) { + debug("scribe::scribe"); } Scribe(const string host, const int port) : owner(true) { + debug(host, "scribe::scribe::host"); + debug(port, "scribe::scribe::port"); init(host, port); } Scribe(const Scribe& c) : owner(false) { + debug("scribe::scribe::copy"); client = c.client; transport = c.transport; } ~Scribe() { + debug("scribe::~scribe"); if (!owner) return; try { |