gabime
6de0ffa15f
Updated clang format to google style
2023-09-25 02:35:55 +03:00
gabime
e28eadcd52
Clang format
2023-09-24 20:43:14 +03:00
gabime
a3ef3ab7a4
Removed SPDLOG_FMT_STRING
2023-09-22 18:24:45 +03:00
gabime
1f61f5e019
clang format
2023-06-07 13:23:44 +03:00
Gabi Melman
dd173bc544
Update daily_file_sink.h
2023-05-19 19:58:45 +03:00
Gabi Melman
fcc8a95a95
Update daily_file_sink.h
2023-05-19 19:56:11 +03:00
Gabi Melman
9fcf609b67
Update daily_file_sink.h
2023-05-19 19:54:47 +03:00
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
2023-05-19 19:51:02 +03:00
刘耘呈
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
2022-10-20 02:11:16 +03:00
John Armstrong
799802f93b
Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING
2022-05-19 11:32:54 -07:00
gabime
dc030ec53c
clang-format
2021-11-16 23:44:35 +02:00
Charles Milette
126a9fb261
Merge branch 'v1.x' of https://github.com/gabime/spdlog into std-format
2021-11-16 11:30:23 -05:00
Charles Milette
4001032858
Add attribution, return to previous code for daily_filename_format_calculator with fmtlib
2021-11-16 11:22:30 -05:00
Charles Milette
701ef17227
Move strftime to daily_filename_format_calculator
2021-11-16 10:05:35 -05:00
gabime
5b7dfefc7e
rename file_event_handlers_t to file_event_handlers
2021-11-16 16:41:04 +02:00
Charless Milette
95aa159bdd
Fix daily_filename_format_calculator (hopefully)
2021-11-15 15:50:16 -05:00
Charless Milette
ba120e524b
Add unit test for daily_filename_format_calculator
2021-11-15 15:46:22 -05:00
Charless Milette
a6945d046f
Fix use of Char
2021-11-15 15:30:30 -05:00
Charless Milette
108c656e66
Fix copy-paste mistake
2021-11-15 15:29:16 -05:00
Charless Milette
2d77ef92b0
Avoid specializing std::formatter for std::tm (not a great idea after all)
2021-11-15 15:27:34 -05:00
Gabi Melman
a3ad8b5f26
Merge pull request #2169 from seker/v1.x_file_event_handlers
...
file_event_handlers add before_open function
2021-11-15 13:36:03 +02:00
seker
24a551c14e
file_event_handlers add before_open function
2021-11-15 19:14:35 +08:00
Charles Milette
8e359baaec
Merge branch 'v1.x' into std-format
2021-11-14 16:02:38 -05:00
Dimitris Apostolou
591eedcf36
Fix typos
2021-11-13 21:54:08 +02:00
Charless Milette
44a4517e2b
Support C++20 std::format as an alternative to fmtlib
2021-11-13 11:29:05 -05:00
seker
c47ae3b15d
add file event handlers
2021-11-12 09:49:49 +08:00
gabime
fe1a4f5fb6
Added SPDLOG_FMT_RUNTIME macro for compatibilty with fmt prior 8
2021-07-20 17:18:40 +03:00
gabime
d38f89cae8
Fixed daily_file_sink compilation under c++20
2021-07-20 15:02:39 +03:00
gabime
4b3687f1a6
Removed unneeded macro definition
2021-07-19 01:11:45 +03:00
gabime
0f83b33d4f
backward compatibility with fmt version < 8
2021-07-10 13:48:06 +03:00
gabime
d75fd2c7f9
Fixed wchar support under msvc
2021-06-26 19:43:37 +03:00
gabime
0fdb545d8c
Fixed clang c++20 compile
2021-06-26 17:59:08 +03:00
Gabi Melman
fa659bf7ad
Update daily_file_sink.h
2021-02-27 11:18:12 +02:00
Gabi Melman
0fac33781d
Update daily_file_sink.h
2021-02-26 12:38:49 +02:00
Gabi Melman
3135b6a33d
Update comment
2021-02-26 12:33:43 +02:00
fawdlstty
a709e29586
fix unique mode compile
2021-02-26 10:18:33 +08:00
fawdlstty
dd46579cb4
fix name
2021-02-26 10:17:43 +08:00
fawdlstty
f4b7210e7b
remove externs
2021-02-26 09:28:12 +08:00
fawdlstty
05a0b0d7b0
use fmt::chrono and remove is_fmt flags
2021-02-26 09:21:13 +08:00
fawdlstty
c1f4d7506a
replace tab
2021-02-25 23:57:37 +08:00
fawdlstty
b6ba0be550
add daily_logger_format_mt and daily_logger_format_st sink
2021-02-25 23:55:19 +08:00
IIFEgit
95485ee89b
keep filename as it's public
2020-05-26 21:59:57 +01:00
IIFEgit
0b86d6a451
fix deadlock on filename() call
2020-05-26 21:35:04 +01:00
Gabi Melman
3b87eb3d08
Moved throw to dedicated function throw_spdlog_ex
2020-03-21 23:25:12 +02:00
tt4g
0cf1af5bbf
Avoid references to race data filename
2020-02-12 16:30:44 +09:00
tt4g
0778211116
Add critical section to filename function of each file sink
2020-02-12 11:01:35 +09:00
gabime
5370443ece
clang-format
2020-02-10 17:13:41 +02:00
weiy
85ea4297b9
update method name
2020-01-19 17:29:17 +08:00
weiy
34cc3419fa
add max files for rotating days
2020-01-19 13:52:01 +08:00
weiy
46fcd2e844
add max files for rotating days
2020-01-19 13:46:43 +08:00