Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::common::LogRecord Struct Reference

Structured representation of a Tesseract log event. More...

#include <logging.h>

Public Attributes

std::chrono::system_clock::time_point timestamp { std::chrono::system_clock::now() }
 Time at which the record was created.
spdlog::level::level_enum level { spdlog::level::info }
 Native spdlog severity of the event.
std::string logger_name { "tesseract" }
 Name of the spdlog logger that owns the event.
std::string component_name
 Logical component that produced the event, if known.
std::string message
 Fully formatted human-readable event message.
spdlog::source_loc source_location
 Source file, line, and function at which the event originated.
std::thread::id thread_id { std::this_thread::get_id() }
 Identifier of the thread that created the record.
LogAttributes attributes
 Typed application-defined attributes attached to the event.

Detailed Description

Structured representation of a Tesseract log event.