jdrouhard
96a8f6250c
fix: remove unused to_string_view overload in fmt >= 11.1 ( #3314 )
2025-01-10 00:58:46 +02:00
Christian Blichmann
7f8060d5b2
fix: Compatibility with external fmtlib 11.1.1 ( #3312 )
...
Include fmtlib's `xchar` header to include `fmt::basic_format_string`.
Otherwise, compilation with an external fmtlib 11.1.1 fails with
```
In file included from include/spdlog/spdlog.h:12:
include/spdlog/common.h:369:49: error: no template named 'basic_format_string' in namespace 'fmt'; did you mean 'std::basic_format_string'?
369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
| ^~~~~
```
Signed-off-by: Christian Blichmann <cblichmann@google.com>
2025-01-08 00:59:12 +02:00
Rui Chen
276ee5f5c0
fix: update to_string_view function for fmt 11.1 ( #3301 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-12-26 09:13:57 +02:00
Matteo Del Seppia
24dde318fe
Adding lock to rotate_now() ( #3281 )
2024-12-03 09:53:34 +02:00
Matteo Del Seppia
65e388e82b
Adding on demand truncation for basic file sinks ( #3280 )
...
* Adding support to truncate on demand for basic file sink
* Remove unnecessary file close
* Adding lock in basic_file_sink truncate()
2024-12-03 01:38:51 +02:00
Gabi Melman
1e6250e183
Gabime/fwrite unlocked ( #3276 )
...
* Use locking fwrite_unlocked if possible
* Added compile definitions to header_only
2024-12-01 14:16:52 +02:00
hjs-ast
951c5b9987
Allow manual rotation of rotating_file_sink ( #3269 )
...
* Allow manual rotation of rotating_file_sink
* Rename rotation method
* Attempted fix for tests on Windows
* Apply review mark-ups
2024-11-28 17:37:29 +02:00
Gabi Melman
15f539685b
Update null_sink to be final ( #3267 )
2024-11-25 00:32:47 +02:00
Gabi Melman
43dcb3982d
Update CMakeLists.txt comment
2024-11-22 12:14:47 +02:00
Gabi Melman
0efef2af24
Update CMakeLists.txt comment
2024-11-22 12:12:32 +02:00
Gabi Melman
018d8aa266
Update CMakeLists.txt
2024-11-22 12:10:53 +02:00
Gabi Melman
35b0417fbe
Update CMakeLists.txt comment
2024-11-22 12:09:48 +02:00
Gabi Melman
94526fa8e8
Update CMakeLists.txt comment
2024-11-22 12:07:39 +02:00
Gabi Melman
633003f40a
Update CMakeLists.txt comment
2024-11-22 11:50:05 +02:00
miyanyan
9edab1b5a1
pass /utf-8 only when compiler is MSVC ( #3260 )
2024-11-22 11:42:35 +02:00
LiAuTraver
1245bf8e8a
add explicit mt:: and std:: to avoid ambiguous call when both std::format_to and mt::format_to are present ( #3259 )
2024-11-18 16:41:27 +02:00
F1F88
51a0deca2c
docs: Removed duplicate line in daily_file_sink comment ( #3249 )
2024-11-09 21:41:00 +02:00
gabime
8e5613379f
Version 1.15.0
2024-11-09 17:01:30 +02:00
Gabi Melman
7cee026baa
Added tsan to ci ( #3247 )
...
* Added tsan to ci
2024-11-08 17:42:04 +02:00
Gabi Melman
ebfa906952
CMake option to Enable/disable msvc /utf-8 flag (on by default)
2024-11-08 11:16:06 +02:00
Gabi Melman
68f6ec7af1
Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
2024-11-08 11:09:12 +02:00
Gabi Melman
d343d413c2
CMake option to Enable/disable msvc /utf-8 flag (on by default)
2024-11-08 11:09:05 +02:00
captainurist
fe4f99527d
Fix utf8_to_wstrbuf tests ( #3245 )
2024-11-06 00:08:36 +02:00
captainurist
5673e9e545
utf8_to_wstrbuf now handles invalid utf8 sequences ( #3244 )
2024-11-05 22:54:01 +02:00
gabime
63f0875000
Removed if in ci
2024-11-02 15:41:48 +02:00
Gabi Melman
5fd32e1a70
Update README.md
2024-11-02 15:38:52 +02:00
Gabi Melman
35345182f8
Update README.md ( #3240 )
2024-11-02 15:38:18 +02:00
Gabi Melman
3c2e002b51
ci-win-2019 ( #3239 )
...
Update ci
2024-11-02 15:27:34 +02:00
gabime
6192537d08
Fix win ci
2024-11-01 18:48:47 +02:00
gabime
6c7201553d
Fix win ci
2024-11-01 18:41:17 +02:00
gabime
d939255f0e
Fix win ci
2024-11-01 18:33:57 +02:00
gabime
ecc3881122
Fix win ci
2024-11-01 18:25:35 +02:00
gabime
bff1a6036a
Fix win ci
2024-11-01 18:20:39 +02:00
gabime
6f2ead1a0e
refactor win ci
2024-11-01 18:09:46 +02:00
gabime
92f9aa32ce
refactor win ci
2024-11-01 18:09:01 +02:00
gabime
64d9b4e263
refactor win ci
2024-11-01 18:06:38 +02:00
gabime
3d3f71dbe2
Fix ci
2024-11-01 17:59:26 +02:00
gabime
3fec1a81b7
Fix ci
2024-11-01 17:56:07 +02:00
gabime
984a959883
Fix ci
2024-11-01 17:51:09 +02:00
gabime
7ecfb3bc9c
Fix ci
2024-11-01 17:45:19 +02:00
gabime
614c3a6836
Fix ci
2024-11-01 17:33:25 +02:00
gabime
5dc356dcbe
windows ci
2024-11-01 17:30:00 +02:00
gabime
a7eb388f84
windows ci wip
2024-11-01 17:21:21 +02:00
Gabi Melman
a5cfbf369d
Revert "Better support for FMT_UNICODE in cmake"
...
This reverts commit d373093734
.
2024-11-01 16:49:37 +02:00
Gabi Melman
d373093734
Better support for FMT_UNICODE in cmake
2024-11-01 16:44:15 +02:00
gabime
7a950e028c
add /utf-8 flag for msvc
2024-11-01 15:18:44 +02:00
Gabi Melman
9fe79692eb
Gabime/tsan ( #3237 )
...
* Fixed race condition in tests
* Support for thread sanitizer
2024-11-01 15:14:27 +02:00
gabime
96c9a62bfd
Fixed race condition in tests
2024-11-01 13:26:27 +02:00
Gabi Melman
85bdab0c18
Update bundled fmt to 11.0.2 ( #3236 )
2024-11-01 12:04:58 +02:00
Gabi Melman
63d1884215
Gabime/async flush ( #3235 )
...
* Revert "Ensure flush callback gets called in move-assign operator (#3232 )"
This reverts commit b6da59447f
.
* Revert "Exchange promise for condition_variable when flushing (fixes #3221 ) (#3228 )"
This reverts commit 16e0d2e77c
.
* Revert PR #3049
2024-11-01 11:26:03 +02:00