From 40b990c030c662ea00e779b601ef300404eeaccf Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:01:30 +0900 Subject: Logging functionality available for individual objects Signed-off-by: Martin Sustrik --- src/object.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/object.hpp') diff --git a/src/object.hpp b/src/object.hpp index 791a7e3..d6d55ae 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -64,6 +64,9 @@ namespace zmq // Chooses least loaded I/O thread. zmq::io_thread_t *choose_io_thread (uint64_t affinity_); + // Log a message. + void log (int sid_, const char *text_); + // Derived object can use these functions to send commands // to other objects. void send_stop (); -- cgit v1.2.3