Commit Graph

4331 Commits (94bdcf556e50727f4d5be9875e8c3741ec632f1c)
 

Author SHA1 Message Date
Jarosław Pelczar 94bdcf556e
android: Support __android_log_write_log_message based logging
This function has been introduced in API Level 30. This commit
enables support for dynamic use of the new API (in case the
application would run on older OS versions).

Signed-off-by: Jarosław Pelczar <jarek@jpelczar.com>
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.
2 years ago
gabime 27cb4c7670 Added mdc example to readme 2 years ago
gabime 2d4acf8cc3 Added mdc example 2 years ago
gabime 3b4fd93bd0 Updated comment about mdc 2 years ago
gabime 2122eb2194 Update spdlog version to 1.14.1 2 years ago
gabime 22b0f4fc06 Clang format 2 years ago
Gabi Melman 37b847692e Revert pr #3023 (std::string_view overloads for logger accessor for c++17) 2 years ago
gabime fa6605dc99 Fix compile 2 years ago
gabime 94a8e87c71 Fix #3079 2 years ago
gabime 238c9ffa5d Bump spdlog to version 1.14.0 2 years ago
gabime 3b4c775b5b Update comment about set_default_logger 2 years ago
gabime 3403f27898 Don't remove previous defaullt logger from registry in set_default_logger. Fix #3016 2 years ago
gabime a34e08c7ff Added CMakeSettings.json to gitignore 2 years ago
gabime 71925ca382 Revmoed definition of deprecated fmt macros 2 years ago
gabime fd61ea9348 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2 years ago
gabime 66ac83e703 Update gitginore to ignore .vs and out/build 2 years ago
gabime dd6c9c6e43 Update comment 2 years ago
Gabi Melman b7e0e2c237
Fix #3073 2 years ago
darallium a0d2187d8f
README.md has include missing (#3066) 2 years ago
gabime e3f5a4fe66 Update cmake to define FMT_LIB_EXPORT when building shared lib 2 years ago
Gabi Melman 1e7d7e0766 Updated bundled fmt to 10.2.1 2 years ago
Gabi Melman a2b4262090
Update CMakeLists.txt to fix #3029 2 years ago
Gabi Melman 8fed530bdf
Update mdc.h 2 years ago
gabime 1253a57db6 Add mdc support for default format 2 years ago
gabime cba66029e2 Update mdc 2 years ago
Gabi Melman 4517ce8b5c
Update mdc.h 2 years ago
Gabi Melman 1f93017403
Update mdc.h 2 years ago
Gabi Melman f030afe696
Update mdc.h 2 years ago
Gabi Melman 2969dde400 Revert "Updated bundled fmt to 10.2.1"
This reverts commit d8e0ad46bf.
2 years ago
Gabi Melman d8e0ad46bf Updated bundled fmt to 10.2.1 2 years ago
Gabi Melman 62302019ba
Update test_async.cpp 2 years ago
Gabi Melman a19c76a4e7
Fix flush test in test_async.cpp 2 years ago
Gabi Melman ec661f98dc
Update test_async.cpp 2 years ago
Kağan Can Şit c9ce17abca
INSTALL.md has been updated to provide current status information. (#3052) 2 years ago
Yubin 6725584e27
Make async_logger::flush() synchronous and wait for the flush to complete (#3049) 2 years ago
shahar.valiano 6766f873d6
Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. (#3048)
This option was deprecated in clang-tidy-16, and removed in clang-tidy-18.
2 years ago
Tomas-Zhu 73e2e02b42
Fix #3038 (#3044)
* Fix #3038

* Fix #3038 again

---------

Co-authored-by: Tomas-Zhu <z773922114@gmail.com>
2 years 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
2 years ago
gabime 23587b0d9a Fixed regisry-inl.h 2 years ago
gabime 819eb27c5d Use find if registry is bigger than 10 in registry::get(std::string_view logger_name) 2 years ago
gabime 4052bc0621 Use find if registry is bigger than 20 in registry::get(std::string_view logger_name) 2 years ago
gabime 8cfd4a7e7b Fixed bench dev_null 2 years ago
gabime e15c505965 fix ci 2 years ago
gabime 42cd77d7e8 fix ci 2 years ago
gabime c838945eac fix ci 2 years ago