Commit Graph

4359 Commits (6f2ead1a0e8e0003f022451136eac1de01589864)
 

Author SHA1 Message Date
gabime 72a7ec3eb9 Bumped spdlog version to 1.12.0 2 years ago
gabime 64ed6b495c Revert "Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt"
This reverts commit c3fa8f60e2.
2 years ago
gabime 4338b9cd23 Revert "Updated bundled fmt to version 10.0.0"
This reverts commit 62e55e7a7f.
2 years ago
Gabi Melman b73616ce29
Update README.md 2 years ago
Lucas Rangit MAGASWERAN 01b3724c48
sinks: android: handle when message is not loggable (#2801)
Android logger (since API 30) checks the per-tag property `log.tag.<tag>` to determine if a log message is loggable. See https://developer.android.com/ndk/reference/group/logging#__android_log_is_loggable . For example, `__android_log_buf_write` for a VERBOSE message will call `__android_log_is_loggable` and return `-EPERM` if the log message will not be printed because `log.tag.<tag>` is set to `INFO`.

Instead of erroring with the following error message, the Android sink should handle `-EPERM`. It is not an error to disable a log via the run-time property.

```
[*** LOG ERROR #0001 ***] [2023-06-29 00:50:26] [logcat] logging to Android failed: Unknown error -1 [/path/to/file.cpp(123)]
```
2 years ago
gabime 4b8ff51a29 Added const to put_newline() in bin_to_hex.h 2 years ago
Gabi Melman 8b8bc20f30
Added const qualifier to bin_hex_formatter to support c++20 2 years ago
gabime 3cd06a3d40 Added const qualifier to stopwatch formatter to support c++20 2 years ago
gabime c3fa8f60e2 Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt 2 years ago
gabime 169f827957 Added missing include to udp_client.h 2 years ago
gabime 62e55e7a7f Updated bundled fmt to version 10.0.0 2 years ago
gabime b85c509ec6 Fixed clang warning in qt_sinks.h 2 years ago
gabime b1eb4953fa Cleaned some warnings in qt_sinks 2 years ago
Simon-Janos 5ece88e5a8
Removing IPv4 limitation from tcp_client (#2790) 2 years ago
CChuancey 826d8ba4b2
ignore vscode and clangd cache files (#2787)
Co-authored-by: chuancey <chuancey@mail.com>
2 years ago
Jiang Y 326f8870c2
Update qt_sinks.h: narrow cast msg.color_range_start, msg.color_range_end (#2781) 2 years ago
Aimin 7990ed8f2b
Update INSTALL (#2775) 2 years ago
gabime da1e671d42 Clean qt_color_sink 2 years ago
gabime a29cef5787 Make max_line explicit for qt_color_sink 2 years ago
gabime 9ce7295191 Make max_line explicit for qt_color_sink 2 years ago
gabime 36eb173030 Updated README.md with qt color example 2 years ago
gabime ca44ce50ab Cleaned qt_color_sink 2 years ago
gabime 91280df07e wip color_qt_sink 2 years ago
Gabi Melman 5a6b6cafa8
Update README.md 2 years ago
Gabi Melman 4f4da7f114
Revert qt_sinks changes and color support, since they are not thread safe 2 years ago
Gabi Melman 199cc0a6d8
Update qt_sinks.h 2 years ago
Gabi Melman 4fb4e2bd86
Update qt_sinks.h 2 years ago
Gabi Melman c17b5d9cd1
Update qt_sinks.h 2 years ago
Gabi Melman 3a7188505f
Added lock to qt_color_sink 2 years ago
Gabi Melman 32bab0e103
Update README.md 2 years ago
gabime f0e1f22bbc Updated README.md with qt color example 2 years ago
gabime 1f61f5e019 clang format 2 years ago
gabime 31cefdce79 Use at() in ansicolor_sink 2 years ago
gabime 95b8ee9b32 Remove comment in qt_sinks.h 2 years ago
gabime d7985e3965 Update comment about qt_color_sink 2 years ago
gabime dfcb74b129 Added default color handling to qt_color_sink 2 years ago
gabime 6a96c7f902 Added qt_color_sink 2 years ago
gabime 6940f4fd46 Added some comments to qt_sinks.h 2 years ago
gabime 1f1897e3a4 Clean qt_sink code 2 years ago
gabime 0f50ad92d6 Clean qt_sink code 2 years ago
gabime 5384512f25 Store MetaMethod object in qt_sink for better performance 2 years ago
gabime 230cad163d Fixed qt_sink 2 years ago
Gabi Melman 3a6ee663ba
Update qt_sinks.h 2 years ago
Gabi Melman 931cd2fb54
Update qt_sinks.h 2 years ago
Gabi Melman 8fdcf0365b
Update qt_sinks.h 2 years ago
Ulmo-F 32701af60b
qt_sink: add some warning on its usage (#2753)
* qt_sink: add some warning on its usage

* qt_sink: add some warning on its usage - fix

---------

Co-authored-by: Benoit FANCHON <bfanchon@nanoxplore.com>
2 years ago
Gabi Melman 31cf79a70d
Remov foreward to standard vformat_to 2 years ago
gabime d1eb68154f If exceptions are disabled, disable them in the bundled fmt as well 2 years ago
Gabi Melman c174c15138
Update test_stopwatch.cpp 2 years ago
Gabi Melman 8222ca4837
Update test_stopwatch.cpp 2 years ago