|
libcaf
0.15.0
|
Centrally logs events from all actors in an actor system. More...
#include <logger.hpp>
Public Member Functions | |
| actor_id | thread_local_aid () |
| Returns the ID of the actor currently associated to the calling thread. | |
| actor_id | thread_local_aid (actor_id aid) |
| Associates an actor ID to the calling thread and returns the last value. | |
| void | log (int level, const std::string &class_name, const char *function_name, const char *file_name, int line_num, const std::string &msg) |
| Writes an entry to the log file. | |
Friends | |
| class | actor_system |
Centrally logs events from all actors in an actor system.
To enable logging in your application, you need to define CAF_LOG_LEVEL. Per default, the logger generates log4j compatible output.
1.8.9.1