Removed SPDLOG_FMT_STRING

This commit is contained in:
gabime
2023-09-17 02:35:55 +03:00
parent 25f64bcfb6
commit a3ef3ab7a4
5 changed files with 5 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ struct daily_filename_calculator
{
filename_t basename, ext;
std::tie(basename, ext) = details::file_helper::split_by_extension(filename);
return fmt_lib::format(SPDLOG_FMT_STRING(SPDLOG_FILENAME_T("{}_{:04d}-{:02d}-{:02d}{}")), basename, now_tm.tm_year + 1900,
return fmt_lib::format(SPDLOG_FILENAME_T("{}_{:04d}-{:02d}-{:02d}{}"), basename, now_tm.tm_year + 1900,
now_tm.tm_mon + 1, now_tm.tm_mday, ext);
}
};