gabime
1d418eef5a
Fix coverity yml
2025-05-12 12:15:44 +03:00
gabime
4a4acc31e6
Fix coverity yml
2025-05-12 12:14:24 +03:00
gabime
7c155b99c1
Fix coverity yml
2025-05-12 11:43:31 +03:00
gabime
e1d4ed9cef
Fix coverity yml
2025-05-12 11:37:53 +03:00
gabime
9926fd8ff8
Added coverity to ci
2025-05-12 11:13:49 +03:00
gabime
6c174aa5b7
Wrap main
content in try block for exception safety.
2025-05-12 10:36:31 +03:00
gabime
a9e09baeec
Use std::move in example
2025-05-12 10:33:10 +03:00
gabime
13fbf73a70
Use std::move
for old_logger
in set_default_logger
.
2025-05-12 10:31:01 +03:00
gabime
2d761504a3
Fix typo in comment for set_default_logger method.
2025-05-12 10:30:48 +03:00
gabime
f9bf4511bf
Fix comments and remove unused include from helpers-inl.h
2025-05-12 10:27:48 +03:00
gabime
37e24d6970
Remove unused includes from file_helper-inl.h
2025-05-12 10:19:26 +03:00
gabime
de127876c7
Added const qualifiers to logger.h
2025-05-12 10:17:11 +03:00
gabime
b0620c8523
Move callback function in thread_pool ctor
2025-05-12 10:09:05 +03:00
Gabi Melman
677a2d93e6
Update test_stopwatch.cpp
2025-05-09 13:22:39 +03:00
Gabi Melman
6fa36017cf
Version 1.15.3
v1.15.3
2025-05-09 08:55:57 +03:00
Gabi Melman
c73b8cc400
Update comment
2025-05-09 02:50:11 +03:00
Gabi Melman
7ca6a4fb27
Update commemt
2025-05-09 02:49:36 +03:00
Gabi Melman
070e1c9747
Update comment
2025-05-09 02:46:10 +03:00
Gabi Melman
0d31acae28
Fmt 11.2.0 ( #3399 )
...
* Bump fmt to 11.2.0
2025-05-08 20:13:03 +03:00
Gabi Melman
943fcbd761
Register replace logger ( #3398 )
...
* Add register_or_replace(logger) to atomically replace logger in registry
* fix some comments
2025-05-08 15:42:54 +03:00
Gabi Melman
7e022c4300
Feature 3379 ( #3397 )
...
* Fix #3379
* clang format
2025-05-08 14:02:00 +03:00
Hinageshi
548b264254
Fix warning C4530 ( #3393 )
...
* Fix warning C4530
* Rename FMT_EXCEPTIONS to FMT_USE_EXCEPTIONS
2025-04-23 19:46:25 +03:00
Tihran Katolikian
847db3375f
dup_filter_sink: remove notification_level argument; use last message log level for notification instead ( #3390 )
2025-04-18 20:45:56 +03:00
Dmitry Kozlovtsev
bb8694b50f
Fix links for #3380 ( #3381 )
2025-04-14 19:22:47 +03:00
Christoph Gringmuth
cec28bf839
Fix links to local reference. ( #3378 )
...
Enables local navigation in IDE and removes links to branch.
2025-04-10 17:58:19 +03:00
Gabi Melman
bd0609d7a0
Update README.md
2025-04-10 17:06:12 +03:00
Christoph Gringmuth
1f4959c832
Fix link to wiki. ( #3377 )
2025-04-10 17:04:23 +03:00
gabime
48bcf39a66
Version 1.15.2
v1.15.2
2025-03-29 14:01:07 +03:00
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 >
2025-03-29 13:44:11 +03:00
gabime
faa0a7a9c5
Bump fmt to version 11.1.4
2025-03-17 16:56:21 +02:00
Gabi Melman
10320184df
Fixed issue #3360 ( #3361 )
2025-03-17 15:46:31 +02:00
Александр
3335c380a0
Update README.md ( #3338 )
...
How to install this package in ALT Linux.
2025-02-11 19:10:50 +02:00
Gabi Melman
f355b3d58f
Fix test_daily_logger
v1.15.1
2025-02-01 13:08:54 +02:00
Gabi Melman
ac432c3602
Gabime/v1.15.1 ( #3332 )
...
* Updated bundled fmt to version 11.1.3
* Bump version to 1.15.1
2025-02-01 12:09:54 +02:00
Janusz Chorko
3c23c27d2d
Revert "fix: Compatibility with external fmtlib 11.1.1 ( #3312 )" ( #3331 )
...
This reverts commit 7f8060d5b2
.
2025-02-01 11:15:04 +02:00
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.
2025-01-23 23:00:23 +02:00
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
2025-01-18 11:58:32 +02:00
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
2025-01-18 11:57:43 +02:00
gabime
96a7d2a1d4
Format CMakeLists.txt
2025-01-12 08:37:47 +02:00
Gabi Melman
d71555306a
Added SPDLOG_FWRITE_UNLOCKED option to CMakeLists.txt ( #3318 )
...
* Added SPDLOG_FWRITE_UNLOCKED option to CMakeLists.txt
* Update CMakeLists.txt
2025-01-12 08:02:39 +02:00
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 >
2025-01-11 17:21:39 +02:00
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