Commit Graph

55 Commits (60faedb02566d3515c970b9303ddd041b107692d)

Author SHA1 Message Date
gabime 9d52261185 clang format 2 years ago
gabime 1f61f5e019 clang format 2 years ago
Charles Milette 4f80077339
Support compile-time format string checking with std::format (#2544)
* Support compile-time format string checking with std::format

* Fix pre-VS 17.5 compilation

* Fix compilation without wchar_t support

* What am I doing

* Bring back fmt optimization

* Move to_string_view to common.h

* Fix SPDLOG_CONSTEXPR_FUNC emitting duplicate symbol errors when building in C++11

* Also add inline on VS 2013

* Appender doesn't work on wide strings
3 years ago
Jeeyong Um aa7490d187 Set eol to the test for overriding need_localtime 3 years ago
Jeeyong Um 38929f856d Allow overriding need_localtime for custom formatter 3 years ago
Charles Milette ebeb3707b1
Switch to vformat_to
Drive-by: reduce the amount of occurences of #ifdef SPDLOG_USE_STD_FORMAT
3 years ago
gabime dc030ec53c clang-format 4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
gabime 7b14a65b2b Fixed format_to deprecated warning by wrapping the buffer with std::back_inserter 4 years ago
Charles Milette a453bccff0
Better support for / separators on Windows, improve wchar filename coverage 5 years ago
gabime 231ca50700 clang-format 5 years ago
gabime 934a9bb23e Fix issue #1617 5 years ago
gabime a8169a3d6b clang-format 5 years ago
gabime d09e03606c Fixed multiple clang-tidy warnings 5 years ago
gabime b2017f5653 Fixed multiple clang-tidy warnings 5 years ago
gabime 0a5ada6411 clang-format 6 years ago
gabime 963f8d3485 Fixed tests 6 years ago
Gabi Melman 60a8c5f1c9 Added padding support and set_pattern to custom_flags 6 years ago
Gabi Melman 752d5685dc Moved pattern formatter from spdlog/details to spdlog/ 6 years ago
Gabi Melman c6c517431f wip custom formatter flags 6 years ago
gabime d25fb08a75 clang-format 6 years ago
gabime cee35f7d24 Added truncate flag (issue #1297) 6 years ago
gabime f5492aed12 Unified usage of fmt::memory_buffer across the codebase 6 years ago
gabime f5831d5132 clang-format 6 years ago
gabime f09334dc6f Updated pattern_foramtter tests 6 years ago
gabime 94c2810b0a Reduced max padding 128=>64 6 years ago
gabime 78c833a09f clang-format 6 years ago
gabime b658ff2124 Fix unittests 6 years ago
Gabi Melman c844ea4423
Update test_pattern_formatter.cpp 6 years ago
gabime db5af8ead1 clang-format 6 years ago
gabime c09dee7717 Moved source filename shortening to pattern formatter instead of macro 6 years ago
gabime 33a42202c7 Replace string pointer with string_view in log_msg 6 years ago
gabime 3bfcb0468e clang-format 7 years ago
gabime 7ce8ae72e8 Added test of pattern_formatter::clone() 7 years ago
gabime cc7e122915 Added test of pattern_formatter::clone() 7 years ago
gabime da84893921 Added test of pattern_formatter::clone() 7 years ago
gabime 1d5b6d7ae6 Added test of pattern_formatter::clone() 7 years ago
gabime 617fcc92cf clang-format 7 years ago
gabime 18f0e4ba1a Added some pattern-formatter padding tests 7 years ago
gabime 1b04c222cf Fixed issue #888 7 years ago
gabime cadb3d7da2 Fixed test 7 years ago
gabime 6355e9895d Major change to log_msg - contain only string_view instead of buffer 7 years ago
gabime dea6a7c217 Tests: Fixed some clang-tidy warnings 7 years ago
gabime 33329c80a9 code formatting 7 years ago
gabime 693103af9c support set_formatter in spdlog.h 7 years ago
gabime 0c19bdd772 pattern per sink and pattern caching 7 years ago
gabime 81fa788bca Updated tests 7 years ago
gabime 1dea46e1ab code formatting 7 years ago
gabime 644c81b9fb Added color ranges to formatter tests 7 years ago
gabime a2653d409f clang-format 8 years ago