Data structures for representing log entries and source locations kcenon.
Represents a single log entry with all associated metadata.
std::optional< source_location > location
Optional source code location information.
Pooled log entry structure optimized for reuse.
std::chrono::system_clock::time_point timestamp
void initialize(common::interfaces::log_level lvl, const std::string &msg, const std::string &file, int line, const std::string &func)
Initialize with log data.
log_entry to_log_entry() const
Convert to standard log_entry.
common::interfaces::log_level level