|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|
Builder for structured log entries. More...
#include <structured_logger.h>

Public Member Functions | |
| log_builder (log_level level, structured_logger_interface *logger) | |
| log_builder & | message (const std::string &msg) |
| log_builder & | field (const std::string &key, const log_value &value) |
| log_builder & | field (const std::string &key, const std::string &value) |
| log_builder & | field (const std::string &key, int value) |
| log_builder & | field (const std::string &key, double value) |
| log_builder & | field (const std::string &key, bool value) |
| void | log () |
Private Attributes | |
| structured_log_entry | entry_ |
| structured_logger_interface * | logger_ |
Builder for structured log entries.
Definition at line 76 of file structured_logger.h.
|
inline |
Definition at line 82 of file structured_logger.h.
References entry_, and kcenon::logger::structured::structured_log_entry::level.
|
inline |
Definition at line 112 of file structured_logger.h.
References entry_, and kcenon::logger::structured::structured_log_entry::fields.
|
inline |
Definition at line 92 of file structured_logger.h.
References entry_, and kcenon::logger::structured::structured_log_entry::fields.
|
inline |
Definition at line 97 of file structured_logger.h.
References entry_, and kcenon::logger::structured::structured_log_entry::fields.
|
inline |
Definition at line 107 of file structured_logger.h.
References entry_, and kcenon::logger::structured::structured_log_entry::fields.
|
inline |
Definition at line 102 of file structured_logger.h.
References entry_, and kcenon::logger::structured::structured_log_entry::fields.
|
inline |
Definition at line 117 of file structured_logger.h.
References entry_, kcenon::logger::structured::structured_logger_interface::log_structured(), and logger_.

|
inline |
Definition at line 87 of file structured_logger.h.
References entry_, and kcenon::logger::structured::structured_log_entry::message.
|
private |
Definition at line 78 of file structured_logger.h.
Referenced by field(), field(), field(), field(), field(), log(), log_builder(), and message().
|
private |
Definition at line 79 of file structured_logger.h.
Referenced by log().