2#ifndef _LOGIT_LOG_RECORD_HPP_INCLUDED
3#define _LOGIT_LOG_RECORD_HPP_INCLUDED
41 const std::string&
file,
Enumerations and utility functions for logging levels and text colors.
Functions for working with arguments and converting them to value arrays.
The primary namespace for the LogIt++ library.
Stores log metadata and content.
const std::string function
Function name.
const int logger_index
Logger index (-1 to log to all).
const int line
Line number in the source file.
std::thread::id thread_id
ID of the logging thread.
const LogLevel log_level
Log level (severity).
const int64_t timestamp_ms
Timestamp in milliseconds.
const std::string file
Source file name.
LogRecord(const LogLevel &log_level, const int64_t ×tamp_ms, const std::string &file, const int &line, const std::string &function, const std::string &format, const std::string &arg_names, const int &logger_index, const bool &print_mode)
Constructor with argument names.
const std::string format
Format string for the message.
std::vector< VariableValue > args_array
Argument values for the log.
const std::string arg_names
Argument names for the log.
const bool print_mode
Flag to determine whether arguments are printed in a raw format without special symbols.