Commit Graph

1070 Commits (de84df8ad7714373c6ee9dba35e5c3984de7638f)

Author SHA1 Message Date
Asperger de84df8ad7 Update rotate method
Calculate the current amount of backups to reduce redundant file_exists check
7 years ago
Ryan Hsu dc6d046f43 fix compile errors 7 years ago
Ryan Hsu 83c7bf6e95 fixed compile errors 7 years ago
Ryan Hsu cd25a0ac8a
Update rotating_file_sink.h
Relocate calc_filename and rename
7 years ago
Ryan Hsu ea9c0067e6
Update daily_file_sink.h
Relocate daily_filename_calculator
7 years ago
Ryan Hsu 268e5257fb
Update file_helper.h
Move filename_calculator to here
7 years ago
Ryan Hsu 539d9db569
Update daily_rotating_file_sink.h 7 years ago
Ryan Hsu 96ff1337bd
Update daily_rotating_file_sink.h
Fix bug when rotates
7 years ago
Ryan Hsu ee2a5dbbc0
Update daily_rotating_file_sink.h 7 years ago
Ryan Hsu 3ec6f7511e
Update daily_rotating_file_sink.h
combine daily_filename_calculator into sink to avoid conflict
7 years ago
Ryan Hsu e6931e1322
Update daily_rotating_file_sink.h
fix indention.
7 years ago
Ryan Hsu 207a22e02b
Add daily_rotating_file_sink
A sink combined with daily_file_sink and rotating_file_sink, which creates new file each day and also when the file size exceeds. In addition, no limit of file number.
7 years ago
gabime 2fa538779f Fixed static_assert 7 years ago
gabime b7a6659451 code formatting 7 years ago
gabime 102c31a04c Accecpt iterators by value in logger ctor insted of ref 7 years ago
gabime 10000c383a Better error message if WideCharToMultiByte fails 7 years ago
gabime 8b42b7d269 Fix support for wchar to utf8 under windows (fix issue #851 and #764) 7 years ago
gabime 17702969fa Upgrded to fmt version 5.2.1 7 years ago
Gabi Melman c5011181bb
Update log_msg.h 7 years ago
gabime 0876e39c4f pad3 small optimization 7 years ago
gabime 0b516733db user buffer.clear() insread of resize(0) 7 years ago
gabime 18df6138a7 clang-format 7 years ago
gabime 4720b703f4 Fixed clang-tidy warnings 7 years ago
gabime cd8e15dcd1 Fixed clang-tidy warnings 7 years ago
gabime a06d32ae19 Fixed clang-tidy warnings 7 years ago
gabime 7af3f014af Fixed clang-tidy warning 7 years ago
gabime 8e80081f99 Fixed clang-tidy warning 7 years ago
gabime 14c0417f3e Fixed clang-tidy warning 7 years ago
gabime 0879dea444 Fixed clang-tidy warning 7 years ago
gabime a8c4aef6bd fix typo 7 years ago
gabime 669a66f18a format 7 years ago
gabime e8dae26176 Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array 7 years ago
gabime e3a66473b2 Small cleanup in set_formatter 7 years ago
gabime 7704e41336 Fixed issue #833 7 years ago
gabime a74bbe7381 base_sink default ctor 7 years ago
gabime 729ec21629 Added virtual protected functions to base_sink 7 years ago
gabime b393715bee Added virtual protected functions to base_sink 7 years ago
gabime 5ec4e60424 Replaced SPDLOG_FINAL macro with final 7 years ago
gabime 5cd24f3033 Replaced SPDLOG_FINAL macro with final 7 years ago
gabime 27a03c5cec Replaced SPDLOG_FINAL macro with final 7 years ago
gabime ca8accbaa8 Replaced SPDLOG_FINAL macro with final 7 years ago
gabime 65defd3806 Replaced SPDLOG_FINAL macro with final 7 years ago
gabime 808bc1f4ed clang format 7 years ago
gabime 41d879e292 Added support for binary logging using to_hex(..) 7 years ago
gabime 2fa7410c0e Improve rotating sink error handling 7 years ago
gabime 3771d12992 Upgraded to fmt ver 5.2.0 7 years ago
Alexander Dalshov d48d6939c2 ansicolor_sink.h - add missing sink include 7 years ago
Gabi Melman 9fda1cb421
Merge pull request #813 from jwnimmer-tri/dist_sink_reset_v1.x
Add set_sinks method to dist_sink
7 years ago
Gabi Melman 37cd707294
Fix issue #819 7 years ago
gabime 3698c1d2f1 added spdlog namespace when calling make_unique 7 years ago