43 size_t nMaxLogFiles = 0;
44 string_view svLogsDirectory = QXT(
"./");
45 string_view svFilePrefix = QXT(
"qx_app");
46 string_view svFileExtension = QXT(
".log");
68 #include <qx/logger/base_file_logger_stream.inl>
@ time_name_keep_current
the current file name: svFilePrefix, old ones: svFilePrefix_last_modification_time
@ clear_then_upend
clear file at start, then append
@ time_name
create new file with creation time name
Base class for all file logger streams.
base_file_logger_stream(const config &streamConfig) noexcept
file_logger_stream object constructor
std::filesystem::path prepare_folder_and_get_log_file_path(const config &config) noexcept
Create a folder (if required) and get log file path.
Base class for logger streams.