summaryrefslogtreecommitdiff
path: root/src/object.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:40 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:40 +0900
commit1fc63e4dbcf1438eb571d720f57be68852f820f7 (patch)
tree8ef72f17deccfb7266bcffe7e8e8b1478116ca7c /src/object.cpp
parente45c2b847c7c0420309731d3705688b0daff9370 (diff)
More logging infrastructure
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/object.cpp b/src/object.cpp
index c9eb3dd..e4e94d9 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -159,6 +159,11 @@ void zmq::object_t::log (int sid_, const char *text_)
ctx->log (sid_, text_);
}
+void zmq::object_t::publish_logs (const char *text_)
+{
+ ctx->publish_logs (text_);
+}
+
void zmq::object_t::send_stop ()
{
// 'stop' command goes always from administrative thread to