|
UTILLib 2.0
Common C++ library with utilities.
|
#include "util/logging.h"
Public Attributes | |
| std::chrono::time_point< std::chrono::system_clock > | timestamp |
| Time of the message (UTC) | |
| std::string | message |
| Message text. | |
| LogSeverity | severity = LogSeverity::kInfo |
| Type of message. | |
| util::log::Loc | location |
| Source file and function. | |
Structure that holds one log message. The log message simply consist of time, severity, location and text. The severity is just a fancy name for log level while the location is the file, line and function where the message was created.
| std::chrono::time_point<std::chrono::system_clock> util::log::LogMessage::timestamp |