diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:01:40 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:01:40 +0900 |
commit | 1fc63e4dbcf1438eb571d720f57be68852f820f7 (patch) | |
tree | 8ef72f17deccfb7266bcffe7e8e8b1478116ca7c /src/object.hpp | |
parent | e45c2b847c7c0420309731d3705688b0daff9370 (diff) |
More logging infrastructure
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/object.hpp')
-rw-r--r-- | src/object.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object.hpp b/src/object.hpp index d6d55ae..6ea3bb2 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -64,8 +64,9 @@ namespace zmq // Chooses least loaded I/O thread. zmq::io_thread_t *choose_io_thread (uint64_t affinity_); - // Log a message. + // Logging related functions. void log (int sid_, const char *text_); + void publish_logs (const char *textr_); // Derived object can use these functions to send commands // to other objects. |