Gabi Melman
677a2d93e6
Update test_stopwatch.cpp
5 months ago
Gabi Melman
6fa36017cf
Version 1.15.3
5 months ago
Gabi Melman
c73b8cc400
Update comment
5 months ago
Gabi Melman
7ca6a4fb27
Update commemt
5 months ago
Gabi Melman
070e1c9747
Update comment
5 months ago
Gabi Melman
0d31acae28
Fmt 11.2.0 ( #3399 )
...
* Bump fmt to 11.2.0
5 months ago
Gabi Melman
943fcbd761
Register replace logger ( #3398 )
...
* Add register_or_replace(logger) to atomically replace logger in registry
* fix some comments
5 months ago
Gabi Melman
7e022c4300
Feature 3379 ( #3397 )
...
* Fix #3379
* clang format
5 months ago
Hinageshi
548b264254
Fix warning C4530 ( #3393 )
...
* Fix warning C4530
* Rename FMT_EXCEPTIONS to FMT_USE_EXCEPTIONS
5 months ago
Tihran Katolikian
847db3375f
dup_filter_sink: remove notification_level argument; use last message log level for notification instead ( #3390 )
6 months ago
Dmitry Kozlovtsev
bb8694b50f
Fix links for #3380 ( #3381 )
6 months ago
Christoph Gringmuth
cec28bf839
Fix links to local reference. ( #3378 )
...
Enables local navigation in IDE and removes links to branch.
6 months ago
Gabi Melman
bd0609d7a0
Update README.md
6 months ago
Christoph Gringmuth
1f4959c832
Fix link to wiki. ( #3377 )
6 months ago
gabime
48bcf39a66
Version 1.15.2
6 months ago
Gabi Melman
9c58257480
Fix zformatter on Apple and POSIX.1-2024 conforming platform ( #3366 )
...
* Add test case for #3351 (wrong GMT offset in SunOS/Solaris fallback)
* Fix #3352 (Missing test for Apple / POSIX.1-2024 chooses buggy workaround)
Apple platforms have had the tm_gmtoff-field at least since Mac OS X 10.0,
as are POSIX.1-2024 conforming systems, which are also required to support
it.
This has the unfortunate effect to use the SunOS/Solaris fallback, which
doesn't compute the correct value if the passed value of tm isn't the
current system time, i.e. localtime(::time()) (#3351 ).
* Fixed GMT offset test
---------
Co-authored-by: toh <toh@ableton.com>
6 months ago
gabime
faa0a7a9c5
Bump fmt to version 11.1.4
7 months ago
Gabi Melman
10320184df
Fixed issue #3360 ( #3361 )
7 months ago
Александр
3335c380a0
Update README.md ( #3338 )
...
How to install this package in ALT Linux.
8 months ago
Gabi Melman
f355b3d58f
Fix test_daily_logger
8 months ago
Gabi Melman
ac432c3602
Gabime/v1.15.1 ( #3332 )
...
* Updated bundled fmt to version 11.1.3
* Bump version to 1.15.1
8 months ago
Janusz Chorko
3c23c27d2d
Revert "fix: Compatibility with external fmtlib 11.1.1 ( #3312 )" ( #3331 )
...
This reverts commit 7f8060d5b2
.
8 months ago
Ken Matsui
ae1de0dc8c
Support custom environment variables for load_env_levels ( #3327 )
...
SPDLOG_LEVEL is currently supported to control log levels via
load_env_levels.
This patch adds support for other environment variable names, such as
MYAPP_LEVEL, for load_env_levels.
8 months ago
Gabi Melman
7cbf2a6967
Gabime/ansicolor sink improvements ( #3323 )
...
* Added lock to set_color_mode in asnicolor_sink
* Added const qualifiers to some ansicolor_sink functions
9 months ago
Alexander
57505989b7
SPDLOG_LEVEL_NAMES, comment use string_view_literals ( #3291 )
...
* SPDLOG_LEVEL_NAMES, comment use string_view_literals
* SPDLOG_LEVEL_NAMES, comment use string_view_literals
9 months ago
gabime
96a7d2a1d4
Format CMakeLists.txt
9 months ago
Gabi Melman
d71555306a
Added SPDLOG_FWRITE_UNLOCKED option to CMakeLists.txt ( #3318 )
...
* Added SPDLOG_FWRITE_UNLOCKED option to CMakeLists.txt
* Update CMakeLists.txt
9 months ago
koniarik
ad0f31c009
Enabled bin_to_hex utest for stdformat, fixed std::formatter ( #3315 )
...
* Enabled bin_to_hex utest for stdformat, and fixed std::formatter
* fixed usage of \ in macos.yml
* explicitly cast diff variable in test_sink
* moved from ::iterator to decltype
* added fix for custom callbacks
---------
Co-authored-by: Jan Koniarik <veverak@Jans-MacBook-Pro.local>
9 months ago
jdrouhard
96a8f6250c
fix: remove unused to_string_view overload in fmt >= 11.1 ( #3314 )
9 months ago
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>
9 months ago
Rui Chen
276ee5f5c0
fix: update to_string_view function for fmt 11.1 ( #3301 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
9 months ago
Matteo Del Seppia
24dde318fe
Adding lock to rotate_now() ( #3281 )
10 months ago
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()
10 months ago
Gabi Melman
1e6250e183
Gabime/fwrite unlocked ( #3276 )
...
* Use locking fwrite_unlocked if possible
* Added compile definitions to header_only
10 months ago
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
10 months ago
Gabi Melman
15f539685b
Update null_sink to be final ( #3267 )
10 months ago
Gabi Melman
43dcb3982d
Update CMakeLists.txt comment
11 months ago
Gabi Melman
0efef2af24
Update CMakeLists.txt comment
11 months ago
Gabi Melman
018d8aa266
Update CMakeLists.txt
11 months ago
Gabi Melman
35b0417fbe
Update CMakeLists.txt comment
11 months ago
Gabi Melman
94526fa8e8
Update CMakeLists.txt comment
11 months ago
Gabi Melman
633003f40a
Update CMakeLists.txt comment
11 months ago
miyanyan
9edab1b5a1
pass /utf-8 only when compiler is MSVC ( #3260 )
11 months ago
LiAuTraver
1245bf8e8a
add explicit mt:: and std:: to avoid ambiguous call when both std::format_to and mt::format_to are present ( #3259 )
11 months ago
F1F88
51a0deca2c
docs: Removed duplicate line in daily_file_sink comment ( #3249 )
11 months ago
gabime
8e5613379f
Version 1.15.0
11 months ago
Gabi Melman
7cee026baa
Added tsan to ci ( #3247 )
...
* Added tsan to ci
11 months ago
Gabi Melman
ebfa906952
CMake option to Enable/disable msvc /utf-8 flag (on by default)
11 months ago
Gabi Melman
68f6ec7af1
Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
11 months ago
Gabi Melman
d343d413c2
CMake option to Enable/disable msvc /utf-8 flag (on by default)
11 months ago