gabime
1f61f5e019
clang format
2023-06-07 13:23:44 +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
Jeeyong Um
aa7490d187
Set eol to the test for overriding need_localtime
2022-05-08 01:20:27 +08:00
Jeeyong Um
38929f856d
Allow overriding need_localtime for custom formatter
2022-05-07 20:44:00 +08: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
gabime
dc030ec53c
clang-format
2021-11-16 23:44:35 +02:00
Charless Milette
44a4517e2b
Support C++20 std::format as an alternative to fmtlib
2021-11-13 11:29:05 -05:00
gabime
7b14a65b2b
Fixed format_to deprecated warning by wrapping the buffer with std::back_inserter
2021-06-24 17:07:14 +03:00
Charles Milette
a453bccff0
Better support for / separators on Windows, improve wchar filename coverage
2021-01-06 04:15:14 -05:00
gabime
231ca50700
clang-format
2020-09-26 15:34:05 +03:00
gabime
934a9bb23e
Fix issue #1617
2020-08-30 15:18:33 +03:00
gabime
a8169a3d6b
clang-format
2020-04-10 15:35:58 +03:00
gabime
d09e03606c
Fixed multiple clang-tidy warnings
2020-04-08 18:18:27 +03:00
gabime
b2017f5653
Fixed multiple clang-tidy warnings
2020-04-08 18:17:21 +03:00
gabime
0a5ada6411
clang-format
2020-03-21 15:25:26 +02:00
gabime
963f8d3485
Fixed tests
2020-03-21 15:25:05 +02:00
Gabi Melman
60a8c5f1c9
Added padding support and set_pattern to custom_flags
2020-03-21 15:03:41 +02:00
Gabi Melman
752d5685dc
Moved pattern formatter from spdlog/details to spdlog/
2020-03-21 13:33:04 +02:00
Gabi Melman
c6c517431f
wip custom formatter flags
2020-03-20 16:09:30 +02:00
gabime
d25fb08a75
clang-format
2019-11-29 12:50:54 +02:00
gabime
cee35f7d24
Added truncate flag (issue #1297 )
2019-11-14 12:28:23 +02:00
gabime
f5492aed12
Unified usage of fmt::memory_buffer across the codebase
2019-08-28 18:46:09 +03:00
gabime
f5831d5132
clang-format
2019-07-05 10:45:37 +03:00
gabime
f09334dc6f
Updated pattern_foramtter tests
2019-06-28 17:31:55 +03:00
gabime
94c2810b0a
Reduced max padding 128=>64
2019-06-28 01:41:11 +03:00
gabime
78c833a09f
clang-format
2019-06-18 17:05:27 +03:00
gabime
b658ff2124
Fix unittests
2019-06-14 18:45:16 +03:00
Gabi Melman
c844ea4423
Update test_pattern_formatter.cpp
2019-06-14 01:30:43 +03:00
gabime
db5af8ead1
clang-format
2019-06-14 00:23:51 +03:00
gabime
c09dee7717
Moved source filename shortening to pattern formatter instead of macro
2019-06-14 00:23:25 +03:00
gabime
33a42202c7
Replace string pointer with string_view in log_msg
2019-06-04 16:10:49 +03:00
gabime
3bfcb0468e
clang-format
2018-11-16 12:56:57 +02:00
gabime
7ce8ae72e8
Added test of pattern_formatter::clone()
2018-11-12 16:04:35 +02:00
gabime
cc7e122915
Added test of pattern_formatter::clone()
2018-11-12 16:04:09 +02:00
gabime
da84893921
Added test of pattern_formatter::clone()
2018-11-12 16:00:32 +02:00
gabime
1d5b6d7ae6
Added test of pattern_formatter::clone()
2018-11-12 15:59:03 +02:00
gabime
617fcc92cf
clang-format
2018-11-11 01:48:50 +02:00
gabime
18f0e4ba1a
Added some pattern-formatter padding tests
2018-11-11 01:43:40 +02:00
gabime
1b04c222cf
Fixed issue #888
2018-10-30 00:54:22 +02:00
gabime
cadb3d7da2
Fixed test
2018-10-22 00:14:07 +03:00
gabime
6355e9895d
Major change to log_msg - contain only string_view instead of buffer
2018-10-19 02:15:50 +03:00
gabime
dea6a7c217
Tests: Fixed some clang-tidy warnings
2018-10-05 15:20:14 +03:00
gabime
33329c80a9
code formatting
2018-07-23 00:13:52 +03:00
gabime
693103af9c
support set_formatter in spdlog.h
2018-07-22 21:52:46 +03:00
gabime
0c19bdd772
pattern per sink and pattern caching
2018-06-24 01:32:39 +03:00
gabime
81fa788bca
Updated tests
2018-06-12 22:43:49 +03:00
gabime
1dea46e1ab
code formatting
2018-04-06 04:06:02 +03:00
gabime
644c81b9fb
Added color ranges to formatter tests
2018-04-06 03:42:24 +03:00
gabime
a2653d409f
clang-format
2018-03-09 15:26:33 +02:00
Gabi Melman
e8a39c894f
Update test_pattern_formatter.cpp
2018-03-06 10:31:36 +02:00