diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:01:30 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:01:30 +0900 |
commit | 40b990c030c662ea00e779b601ef300404eeaccf (patch) | |
tree | 5d83ac2fee902c0daf36415a55a230bf703ed5d7 /src/object.cpp | |
parent | 4c9cc8a724dfee204fb7a42632c1cc802e6aa83f (diff) |
Logging functionality available for individual objects
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/object.cpp b/src/object.cpp index 04044d3..c9eb3dd 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -154,6 +154,11 @@ zmq::io_thread_t *zmq::object_t::choose_io_thread (uint64_t affinity_) return ctx->choose_io_thread (affinity_); } +void zmq::object_t::log (int sid_, const char *text_) +{ + ctx->log (sid_, text_); +} + void zmq::object_t::send_stop () { // 'stop' command goes always from administrative thread to |