|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|
#include <error_codes.h>

Public Member Functions | |
| result (T &&value) | |
| result (const T &value) | |
| result (logger_error_code code, const std::string &msg="") | |
| result (const common::error_info &error) | |
| result (common::error_info &&error) | |
| bool | has_value () const |
| operator bool () const | |
| T & | value () |
| const T & | value () const |
| logger_error_code | error_code () const |
| const std::string & | error_message () const |
| const common::Result< T > & | raw () const |
Static Public Member Functions | |
| static result | ok_value (const T &value) |
Private Attributes | |
| common::Result< T > | value_ |
Definition at line 436 of file error_codes.h.
|
inline |
Definition at line 439 of file error_codes.h.
|
inline |
Definition at line 443 of file error_codes.h.
|
inline |
Definition at line 446 of file error_codes.h.
|
inlineexplicit |
Definition at line 452 of file error_codes.h.
|
inlineexplicit |
Definition at line 455 of file error_codes.h.
|
inline |
Definition at line 472 of file error_codes.h.
References kcenon::logger::result< T >::value_.
|
inline |
Definition at line 476 of file error_codes.h.
References kcenon::logger::result< T >::value_.
Referenced by example_production_setup().

|
inline |
Definition at line 466 of file error_codes.h.
References kcenon::logger::result< T >::value_.
Referenced by main(), and kcenon::logger::result< T >::operator bool().

|
inlinestatic |
Definition at line 459 of file error_codes.h.
References kcenon::common::ok(), kcenon::logger::success, kcenon::logger::result< T >::value(), and kcenon::logger::result< T >::value_.
Referenced by kcenon::logger::logger::get_current_metrics().


|
inlineexplicit |
Definition at line 467 of file error_codes.h.
References kcenon::logger::result< T >::has_value().

|
inline |
|
inline |
Definition at line 469 of file error_codes.h.
References kcenon::logger::result< T >::value_.
Referenced by example_production_setup(), main(), and kcenon::logger::result< T >::ok_value().

|
inline |
|
private |
Definition at line 483 of file error_codes.h.
Referenced by kcenon::logger::result< T >::error_code(), kcenon::logger::result< T >::error_message(), kcenon::logger::result< T >::has_value(), kcenon::logger::result< T >::ok_value(), kcenon::logger::result< T >::raw(), kcenon::logger::result< T >::value(), and kcenon::logger::result< T >::value().