Commit Graph

13 Commits

Author SHA1 Message Date
gabime
9d52261185 clang format 2023-09-25 16:08:29 +03:00
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
2022-11-12 23:07:11 +02:00
Charles Milette
714cf12822
Add fmt_helper.h include to includes.h and os-inl.h 2022-04-22 23:28:28 -04:00
Charles Milette
ebeb3707b1
Switch to vformat_to
Drive-by: reduce the amount of occurences of #ifdef SPDLOG_USE_STD_FORMAT
2022-04-21 21:59:02 -04:00
Charles Milette
484bf07379
Fix test_fmt_helper 2021-11-15 18:34:40 -05:00
Charless Milette
44a4517e2b Support C++20 std::format as an alternative to fmtlib 2021-11-13 11:29:05 -05:00
Gabi Melman
34244656a6
Update test_fmt_helper.cpp 2020-04-11 21:09:48 +03:00
gabime
f5492aed12 Unified usage of fmt::memory_buffer across the codebase 2019-08-28 18:46:09 +03:00
gabime
ce637440bb wip static-lib 2019-05-13 00:09:00 +03:00
gabime
b2735eb30c Fixed fmt_helper tests 2018-11-16 12:56:36 +02:00
gabime
4a34cd0662 Optimized nano seconds formatting 2018-11-12 16:44:34 +02:00
gabime
b7a6659451 code formatting 2018-10-04 02:10:46 +03:00
gabime
dace099348 Added fmt_helper tests 2018-09-28 01:30:29 +03:00