Gabi Melman
7e022c4300
Feature 3379 ( #3397 )
...
* Fix #3379
* clang format
2025-05-08 14:02:00 +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
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
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
F1F88
51a0deca2c
docs: Removed duplicate line in daily_file_sink comment ( #3249 )
2024-11-09 21:41:00 +02:00
hydai
e593f6695c
Fix warning - extra ';' for -Wextra-semi ( #3198 )
...
Signed-off-by: hydai <z54981220@gmail.com >
2024-09-23 15:39:32 +03:00
Rasmus
271f0f3b14
Add info about max_files in the docstrings of hourly/daily file sinks ( #3170 )
2024-09-09 16:54:03 +03:00
Eugene Smirnov
a3a0c9d663
compilation error gcc 8.5 with [-Werror=suggest-override] ( #3158 )
2024-08-27 04:04:04 +03:00
Alex Overchenko
885b5473e2
Fix building with FMT_ENFORCE_COMPILE_STRING ( #3137 )
2024-07-16 20:41:21 +03:00
Philippe Vaucher
eeb22c13bb
Allow customization of syslog_sink ( #3124 )
...
Thanks @Silex
2024-07-03 22:51:11 +03:00
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.
2024-05-22 00:20:17 +03:00
Dimitri Papadopoulos Orfanos
47b7e7c736
Fix typos found by codespell ( #3011 )
2024-02-12 23:02:31 +02:00
M010
8b331e2cd1
Fix wrong thread_id (TID) in systemd_sink.h ( #2919 )
2023-10-24 01:43:47 +03:00
shannonbooth
2d5179ba7d
sinks: Make syslog_sink.h's syslog_prio_from_level protected ( #2918 )
...
To allow for using this function from a derived sink.
2023-10-23 22:49:01 +03:00
gabime
0a53eafe18
update clang format again
2023-09-25 16:40:36 +03:00
gabime
4b2a8219d5
reformat code
2023-09-25 16:20:42 +03:00
gabime
9d52261185
clang format
2023-09-25 16:08:29 +03:00
gabime
1a0bfc7a89
clang format
2023-09-25 02:44:07 +03:00
gabime
f24f7fa2fa
Added missing include mutex
2023-09-25 02:44:00 +03:00
gabime
d109e1dcd0
minor cleanup
2023-09-09 13:32:44 +03:00
gabime
a98d3ab0c7
clang format
2023-09-09 12:56:47 +03:00
neothenil
8014d6c31a
Fix encoding issue in qt_sinks ( #2862 )
...
Added support for utf8 in qt_color_sink
2023-09-09 12:52:10 +03:00
qwark
76dfc7e7c0
Qt Sink : Allow for darker colors (for light background). ( #2817 )
...
Default are too bright if background is light(white).
2023-07-14 20:21:25 +03:00
gabime
bed324e414
Formatted qt_sinks.h code
2023-07-08 15:27:16 +03:00
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)]
```
2023-07-07 00:24:06 +03:00
gabime
b85c509ec6
Fixed clang warning in qt_sinks.h
2023-07-02 17:52:55 +03:00
gabime
b1eb4953fa
Cleaned some warnings in qt_sinks
2023-07-02 17:52:55 +03:00
Jiang Y
326f8870c2
Update qt_sinks.h: narrow cast msg.color_range_start, msg.color_range_end ( #2781 )
2023-06-28 08:32:12 +03:00
gabime
da1e671d42
Clean qt_color_sink
2023-06-17 18:09:08 +03:00
gabime
9ce7295191
Make max_line explicit for qt_color_sink
2023-06-17 16:58:40 +03:00
gabime
ca44ce50ab
Cleaned qt_color_sink
2023-06-17 16:40:46 +03:00
gabime
91280df07e
wip color_qt_sink
2023-06-17 15:07:00 +03:00
Gabi Melman
4f4da7f114
Revert qt_sinks changes and color support, since they are not thread safe
2023-06-10 02:50:19 +03:00
Gabi Melman
199cc0a6d8
Update qt_sinks.h
2023-06-09 12:59:41 +03:00
Gabi Melman
4fb4e2bd86
Update qt_sinks.h
2023-06-09 12:44:54 +03:00
Gabi Melman
c17b5d9cd1
Update qt_sinks.h
2023-06-09 12:41:36 +03:00
Gabi Melman
3a7188505f
Added lock to qt_color_sink
2023-06-08 01:12:25 +03:00
gabime
1f61f5e019
clang format
2023-06-07 13:23:44 +03:00
gabime
31cefdce79
Use at() in ansicolor_sink
2023-06-07 13:21:40 +03:00
gabime
95b8ee9b32
Remove comment in qt_sinks.h
2023-06-07 13:11:37 +03:00
gabime
d7985e3965
Update comment about qt_color_sink
2023-06-07 13:07:21 +03:00
gabime
dfcb74b129
Added default color handling to qt_color_sink
2023-06-07 12:51:07 +03:00
gabime
6a96c7f902
Added qt_color_sink
2023-06-07 11:45:51 +03:00
gabime
6940f4fd46
Added some comments to qt_sinks.h
2023-06-07 00:29:23 +03:00
gabime
1f1897e3a4
Clean qt_sink code
2023-06-07 00:21:58 +03:00
gabime
0f50ad92d6
Clean qt_sink code
2023-06-07 00:21:44 +03:00