|
C++ Actor Framework 0.19
|
Encapsulates a single logging event. More...
#include <logger.hpp>
Public Member Functions | |
| event (event &&)=default | |
| event (const event &)=default | |
| event & | operator= (event &&)=default |
| event & | operator= (const event &)=default |
| event (unsigned lvl, unsigned line, std::string_view cat, std::string_view full_fun, std::string_view fun, std::string_view fn, std::string msg, std::thread::id t, actor_id a, timestamp ts) | |
Public Attributes | |
| unsigned | level |
| Level/priority of the event. | |
| unsigned | line_number |
| Current line in the file. | |
| std::string_view | category_name |
| Name of the category (component) logging the event. | |
| std::string_view | pretty_fun |
Name of the current function as reported by __PRETTY_FUNCTION__. | |
| std::string_view | simple_fun |
Name of the current function as reported by __func__. | |
| std::string_view | file_name |
| Name of the current file. | |
| std::string | message |
| User-provided message. | |
| std::thread::id | tid |
| Thread ID of the caller. | |
| actor_id | aid |
| Actor ID of the caller. | |
| timestamp | tstamp |
| Timestamp of the event. | |
Encapsulates a single logging event.