20#ifndef ORES_ORE_LOG_ORE_LOG_PARSER_HPP
21#define ORES_ORE_LOG_ORE_LOG_PARSER_HPP
28namespace ores::ore::log {
73std::optional<ore_log_line> parse_ore_log_line(std::string_view line);
A single parsed ORE engine log line.
Definition ore_log_parser.hpp:38
std::string source
Source location, e.g. "ore/oreapp.cpp:42".
Definition ore_log_parser.hpp:59
std::string level
Normalized severity: "debug", "info", "warn", or "error".
Definition ore_log_parser.hpp:49
std::string message
The log message body.
Definition ore_log_parser.hpp:64
std::chrono::system_clock::time_point timestamp
Timestamp from the log line, interpreted as UTC.
Definition ore_log_parser.hpp:54