Commit Graph

2191 Commits (1245bf8e8a19d914271df03124da9593f3634a9c)

Author SHA1 Message Date
F1F88 51a0deca2c
docs: Removed duplicate line in daily_file_sink comment (#3249) 10 months ago
gabime 8e5613379f Version 1.15.0 10 months ago
captainurist 5673e9e545
utf8_to_wstrbuf now handles invalid utf8 sequences (#3244) 10 months ago
Gabi Melman 85bdab0c18
Update bundled fmt to 11.0.2 (#3236) 10 months ago
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
10 months ago
Michael de Lang b6da59447f
Ensure flush callback gets called in move-assign operator (#3232) 10 months ago
Michael de Lang 16e0d2e77c
Exchange promise for condition_variable when flushing (fixes #3221) (#3228)
std::promise and std::future use std::call_once under the hood, which requires
the tls-model to be at least initial_exec, excluding local_exec.

Furthermore, gcc has a bug regarding exceptions in std::call_once that
is best avoided. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146
for more info.

Signed-off-by: Michael de Lang <kingoipo@gmail.com>
10 months ago
hydai e593f6695c
Fix warning - extra ';' for -Wextra-semi (#3198)
Signed-off-by: hydai <z54981220@gmail.com>
11 months ago
Gabi Melman 2c76e6101a
Fix #3194 - Use Sep instead of Sept for abbreviated month 11 months ago
Gabi Melman c1fbafdcef
Update mdc.h (#3185)
Update error message
12 months ago
allen_qfl 362214a349
fix/issue-3101: fix the issue where mdc ignores SPDLOG_NO_TLS (#3184)
Co-authored-by: dyf <yufeng.duan@senscape.com.cn>
12 months ago
Leslie 2169a6f6ae
use std::lock_guard instead of std::unique_lock (#3179) 12 months ago
Rasmus 271f0f3b14
Add info about max_files in the docstrings of hourly/daily file sinks (#3170) 12 months ago
Eugene Smirnov a3a0c9d663
compilation error gcc 8.5 with [-Werror=suggest-override] (#3158) 1 year ago
Alex Overchenko 885b5473e2
Fix building with `FMT_ENFORCE_COMPILE_STRING` (#3137) 1 year ago
Philippe Vaucher eeb22c13bb
Allow customization of syslog_sink (#3124)
Thanks @Silex
1 year ago
Dominik Grabiec c3aed4b683
Add wide character formatting and output support to wincolor_sink. (#3092)
Fixes printing of unicode characters to the windows console such as microsecond suffix for std::chrono types.
1 year ago
gabime 3b4fd93bd0 Updated comment about mdc 1 year ago
gabime 2122eb2194 Update spdlog version to 1.14.1 1 year ago
gabime 22b0f4fc06 Clang format 1 year ago
Gabi Melman 37b847692e Revert pr #3023 (std::string_view overloads for logger accessor for c++17) 1 year ago
gabime 94a8e87c71 Fix #3079 1 year ago
gabime 238c9ffa5d Bump spdlog to version 1.14.0 1 year ago
gabime 3b4c775b5b Update comment about set_default_logger 1 year ago
gabime 3403f27898 Don't remove previous defaullt logger from registry in set_default_logger. Fix #3016 1 year ago
gabime 71925ca382 Revmoed definition of deprecated fmt macros 1 year ago
Gabi Melman b7e0e2c237
Fix #3073 1 year ago
Gabi Melman 1e7d7e0766 Updated bundled fmt to 10.2.1 1 year ago
Gabi Melman 8fed530bdf
Update mdc.h 1 year ago
gabime 1253a57db6 Add mdc support for default format 1 year ago
gabime cba66029e2 Update mdc 1 year ago
Gabi Melman 4517ce8b5c
Update mdc.h 1 year ago
Gabi Melman 1f93017403
Update mdc.h 1 year ago
Gabi Melman f030afe696
Update mdc.h 1 year ago
Gabi Melman 2969dde400 Revert "Updated bundled fmt to 10.2.1"
This reverts commit d8e0ad46bf.
1 year ago
Gabi Melman d8e0ad46bf Updated bundled fmt to 10.2.1 1 year ago
Yubin 6725584e27
Make async_logger::flush() synchronous and wait for the flush to complete (#3049) 1 year ago
Tomas-Zhu 73e2e02b42
Fix #3038 (#3044)
* Fix #3038

* Fix #3038 again

---------

Co-authored-by: Tomas-Zhu <z773922114@gmail.com>
1 year ago
Massimiliano Riva d03eb40c17
Added Mapped Diagnostic Context (MDC) support (#2907)
* Added Mapped Diagnostic Context (MDC) support

* Update include statement

* Optimize string creation

* Fix includes

* Fix padding rules in mdc empty case

* Add comment to describe the use of mdc formatter
1 year ago
gabime 23587b0d9a Fixed regisry-inl.h 1 year ago
gabime 819eb27c5d Use find if registry is bigger than 10 in registry::get(std::string_view logger_name) 1 year ago
gabime 4052bc0621 Use find if registry is bigger than 20 in registry::get(std::string_view logger_name) 1 year ago
magnus-nomono ae525b75c3
Add missing include (#3026) 1 year ago
Alan Candido a45c939040
Update stopwatch.h (#3034)
Adding elapsed time in milliseconds.
1 year ago
Leadbelly 5532231bbc
feature: adds string view overloads for logger accessor (#3023)
Co-authored-by: Ben Leadbetter <ben.leadbetter@native-instruments.com>
2 years ago
Gabi Melman 134f9194bb
Update registry.h code formatting 2 years ago
cohdan fe79bfcc51
Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed (#3009)
* Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed

* Code review fix - periodic_worker thread getter should return a reference and not a pointer
2 years ago
Dimitri Papadopoulos Orfanos 47b7e7c736
Fix typos found by codespell (#3011) 2 years ago
liubing 8979f7fb2a
Also use _stat() on Windows to be more UTF8 friendly (#2978)
* Also use _stat() on Windows to be more UTF8 friendly

* Cosmetic changes
2 years ago
gabime 7c02e204c9 Bump version to 1.13.0 2 years ago