Commit Graph

93 Commits (dcd5904bdc659fbc2bdcceeb08169ad112f8c594)

Author SHA1 Message Date
gabime dcd5904bdc Updated clang-format
Merged with origin
2 years ago
gabime 6de0ffa15f Updated clang format to google style 2 years ago
gabime e28eadcd52 Clang format 2 years ago
gabime a3ef3ab7a4 Removed SPDLOG_FMT_STRING 2 years ago
gabime 1f61f5e019 clang format 2 years ago
Gabi Melman dd173bc544
Update daily_file_sink.h 2 years ago
Gabi Melman fcc8a95a95
Update daily_file_sink.h 2 years ago
Gabi Melman 9fcf609b67
Update daily_file_sink.h 2 years ago
Bernd Ritter af1785b897
Removes special format handling for fmt. (#2736)
* Removes special format handling for fmt. Regains test compatibility with fmt
1.10.0.

fixes #2735

* reverted std::vector back to filename_t and used pointer to array start likewise as fmt's implementation uses

* calc_filename buffer increase softened, exception is throw if buffer exceeds 4k, filename parameter renamed to match intend.

* calc_filetime based on std::put_time for simpler implementation
2 years ago
刘耘呈 3c0e036cc9
Use 'SPDLOG_FMT_RUNTIME' to fix compilation error throwed MSVC and fmt 9.1.x (#2517)
* Use 'SPDLOG_FMT_RUNTIME' to fix compilation error throwed MSVC and fmt 9.1.x

* Fix #2512
3 years ago
John Armstrong 799802f93b Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING 3 years ago
gabime dc030ec53c clang-format 4 years ago
Charles Milette 126a9fb261 Merge branch 'v1.x' of https://github.com/gabime/spdlog into std-format 4 years ago
Charles Milette 4001032858 Add attribution, return to previous code for daily_filename_format_calculator with fmtlib 4 years ago
Charles Milette 701ef17227 Move strftime to daily_filename_format_calculator 4 years ago
gabime 5b7dfefc7e rename file_event_handlers_t to file_event_handlers 4 years ago
Charless Milette 95aa159bdd Fix daily_filename_format_calculator (hopefully) 4 years ago
Charless Milette ba120e524b Add unit test for daily_filename_format_calculator 4 years ago
Charless Milette a6945d046f Fix use of Char 4 years ago
Charless Milette 108c656e66 Fix copy-paste mistake 4 years ago
Charless Milette 2d77ef92b0 Avoid specializing std::formatter for std::tm (not a great idea after all) 4 years ago
Gabi Melman a3ad8b5f26
Merge pull request #2169 from seker/v1.x_file_event_handlers
file_event_handlers add before_open function
4 years ago
seker 24a551c14e file_event_handlers add before_open function 4 years ago
Charles Milette 8e359baaec
Merge branch 'v1.x' into std-format 4 years ago
Dimitris Apostolou 591eedcf36
Fix typos 4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
seker c47ae3b15d add file event handlers 4 years ago
gabime fe1a4f5fb6 Added SPDLOG_FMT_RUNTIME macro for compatibilty with fmt prior 8 4 years ago
gabime d38f89cae8 Fixed daily_file_sink compilation under c++20 4 years ago
gabime 4b3687f1a6 Removed unneeded macro definition 4 years ago
gabime 0f83b33d4f backward compatibility with fmt version < 8 4 years ago
gabime d75fd2c7f9 Fixed wchar support under msvc 4 years ago
gabime 0fdb545d8c Fixed clang c++20 compile 4 years ago
Gabi Melman fa659bf7ad
Update daily_file_sink.h 5 years ago
Gabi Melman 0fac33781d
Update daily_file_sink.h 5 years ago
Gabi Melman 3135b6a33d
Update comment 5 years ago
fawdlstty a709e29586 fix unique mode compile 5 years ago
fawdlstty dd46579cb4 fix name 5 years ago
fawdlstty f4b7210e7b remove externs 5 years ago
fawdlstty 05a0b0d7b0 use fmt::chrono and remove is_fmt flags 5 years ago
fawdlstty c1f4d7506a replace tab 5 years ago
fawdlstty b6ba0be550 add daily_logger_format_mt and daily_logger_format_st sink 5 years ago
IIFEgit 95485ee89b keep filename as it's public 5 years ago
IIFEgit 0b86d6a451 fix deadlock on filename() call 5 years ago
Gabi Melman 3b87eb3d08 Moved throw to dedicated function throw_spdlog_ex 6 years ago
tt4g 0cf1af5bbf Avoid references to race data filename 6 years ago
tt4g 0778211116 Add critical section to filename function of each file sink 6 years ago
gabime 5370443ece clang-format 6 years ago
weiy 85ea4297b9 update method name 6 years ago
weiy 34cc3419fa add max files for rotating days 6 years ago