summaryrefslogtreecommitdiff
path: root/src/object.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:30 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:30 +0900
commit40b990c030c662ea00e779b601ef300404eeaccf (patch)
tree5d83ac2fee902c0daf36415a55a230bf703ed5d7 /src/object.hpp
parent4c9cc8a724dfee204fb7a42632c1cc802e6aa83f (diff)
Logging functionality available for individual objects
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp3
1 files changed, 3 insertions, 0 deletions
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 ();