mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 17:22:06 +08:00
small cleanup
This commit is contained in:
parent
76474459d2
commit
0bf2e7811a
@ -12,7 +12,6 @@
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/details/file_helper.h"
|
||||
#include "spdlog/details/os.h"
|
||||
// #include "spdlog/fmt/fmt.h"
|
||||
|
||||
namespace spdlog {
|
||||
namespace sinks {
|
||||
@ -55,8 +54,7 @@ filename_t rotating_file_sink<Mutex>::calc_filename(const filename_t &filename,
|
||||
std::tie(basename, ext) = details::file_helper::split_by_extension(filename);
|
||||
std::basic_ostringstream<filename_t::value_type> oss;
|
||||
oss << basename.native() << '.' << index << ext.native();
|
||||
return oss.str();
|
||||
//return fmt_lib::format(SPDLOG_FMT_STRING(SPDLOG_FILENAME_T("{}.{}{}")), basename, index, ext);
|
||||
return oss.str();
|
||||
}
|
||||
|
||||
template <typename Mutex>
|
||||
|
Loading…
Reference in New Issue
Block a user