|
ASIO Client Server Framework
|
One log entry. Every field is optional and only the fields that are set appear in the output. More...
#include <logger.h>
Public Member Functions | |
| std::string | toString () const |
| Formats the entry as a single line of text. | |
Public Attributes | |
| std::optional< uint64_t > | isFrom |
| std::optional< LogLevel > | level |
| std::optional< std::chrono::system_clock::time_point > | timestamp |
| std::optional< std::string > | message |
| std::optional< int > | errorValue |
| std::optional< std::string > | errorMessage |
| std::optional< std::string > | localAddress |
| std::optional< uint16_t > | localPort |
| std::optional< std::string > | remoteAddress |
| std::optional< uint16_t > | remotePort |
One log entry. Every field is optional and only the fields that are set appear in the output.
| std::optional<std::string> acsf::Log::errorMessage |
Error text (boost::system::error_code::message()).
| std::optional<int> acsf::Log::errorValue |
Numeric error code (boost::system::error_code::value()).
| std::optional<uint64_t> acsf::Log::isFrom |
Id of the connection the entry is about.
| std::optional<LogLevel> acsf::Log::level |
Severity.
| std::optional<std::string> acsf::Log::localAddress |
Local IP address.
| std::optional<uint16_t> acsf::Log::localPort |
Local port.
| std::optional<std::string> acsf::Log::message |
Human readable description.
| std::optional<std::string> acsf::Log::remoteAddress |
Remote IP address.
| std::optional<uint16_t> acsf::Log::remotePort |
Remote port.
| std::optional<std::chrono::system_clock::time_point> acsf::Log::timestamp |
When it happened. Filled in automatically when the entry is pushed.