Commit Graph

4399 Commits (9407d76aab1469472543f68bd0b7ca65a194c04b)
 

Author SHA1 Message Date
Gabi Melman a5cfbf369d Revert "Better support for FMT_UNICODE in cmake"
This reverts commit d373093734.
10 months ago
Gabi Melman d373093734 Better support for FMT_UNICODE in cmake 10 months ago
gabime 7a950e028c add /utf-8 flag for msvc 10 months ago
Gabi Melman 9fe79692eb
Gabime/tsan (#3237)
* Fixed race condition in tests

* Support for thread sanitizer
10 months ago
gabime 96c9a62bfd Fixed race condition in tests 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
mq白 ee16895787
Improve Cross-Platform Build Instructions in Documentation (#3229)
* Update build

* Simplified build command length for cross-platform compatibility.

* Modified to replace `make -j` only with `cmake --build.`
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
薛定谔的加菲猫 bdd1dff378
Update CMakeLists.txt, Fix spelling errors (#3193) 11 months ago
Uilian Ries ffd5aa41d6
Update conan install command in README (#3172)
Signed-off-by: Uilian Ries <uilianries@gmail.com>
12 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
zjyhjqs 5ebfc92730
fix: set `/Zc:__cplusplus` and `/MP` to MSVC only (#3139)
1. macro `__cplusplus` is enabled by clang-cl
2. `/MP` is not supported by clang-cl (warning `-Wunused-command-line-argument` will be generated)
1 year ago
Alex Overchenko 885b5473e2
Fix building with `FMT_ENFORCE_COMPILE_STRING` (#3137) 1 year ago
Ziyao d276069a6e
make example compatible with fmt 11 (#3130)
Since fmt 11.0.0, formatter::format() is required to be const. Mark
format() method in example as const to stay compatible with fmt 11.
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 27cb4c7670 Added mdc example to readme 1 year ago
gabime 2d4acf8cc3 Added mdc example 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 fa6605dc99 Fix compile 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 a34e08c7ff Added CMakeSettings.json to gitignore 1 year ago
gabime 71925ca382 Revmoed definition of deprecated fmt macros 1 year ago
gabime fd61ea9348 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 1 year ago
gabime 66ac83e703 Update gitginore to ignore .vs and out/build 1 year ago
gabime dd6c9c6e43 Update comment 1 year ago
Gabi Melman b7e0e2c237
Fix #3073 1 year ago
darallium a0d2187d8f
README.md has include missing (#3066) 1 year ago
gabime e3f5a4fe66 Update cmake to define FMT_LIB_EXPORT when building shared lib 1 year ago
Gabi Melman 1e7d7e0766 Updated bundled fmt to 10.2.1 1 year ago
Gabi Melman a2b4262090
Update CMakeLists.txt to fix #3029 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