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
gabime
0a53eafe18
update clang format again
2023-09-25 16:40:36 +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
dc030ec53c
clang-format
2021-11-16 23:44:35 +02:00
gabime
5b7dfefc7e
rename file_event_handlers_t to file_event_handlers
2021-11-16 16:41:04 +02:00
seker
24a551c14e
file_event_handlers add before_open function
2021-11-15 19:14:35 +08:00
seker
c47ae3b15d
add file event handlers
2021-11-12 09:49:49 +08:00
gabime
e7e8b75a4c
clang-format
2021-07-19 00:50:51 +03:00
gabime
a0dae55a69
Revert 7f15fb2a21
since it breaks the ABI
2020-06-07 14:38:16 +03:00
Tamas Florin
d5aa8db36f
Add missing os include for rotating_file_sink.
2020-06-06 21:08:03 +03:00
Tamas Florin
071206ef59
Add support for custom filename calculator in rotating_file_sink.
2020-06-04 13:38:21 +03:00
tt4g
0cf1af5bbf
Avoid references to race data filename
2020-02-12 16:30:44 +09:00
Gabi Melman
9e9da42c64
Update rotating_file_sink.h
2020-02-12 07:48:41 +02:00
tt4g
0778211116
Add critical section to filename function of each file sink
2020-02-12 11:01:35 +09:00
Cristian Morales Vega
7cdd65075c
"#include" <spdlog/.*> instead of "spdlog/.*"
...
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html )
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
2019-11-06 19:15:29 +00:00
casperevan
67f3a83c31
Fix missing include for null_mutex in rotating_file_sink.h
2019-06-25 13:09:16 -07:00
gabime
bcfa9241b8
Updated copyright headers
2019-06-04 00:09:16 +03:00
gabime
eea9d6136f
Moved default sync factory to seperate file to avoid cyclic includes
2019-06-03 23:56:18 +03:00
gabime
78eeba940a
Fix issue #114
2019-06-03 23:20:53 +03:00
gabime
09e83937de
wip static-lib
2019-05-12 02:10:39 +03:00
gabime
42e30468a9
added rotating_file_sink to static build
2019-05-12 01:43:30 +03:00
gabime
46ef71e3ec
Normalized copyright message
2019-05-11 20:06:17 +03:00
gabime
6b0bf33f8e
clang-format
2019-03-29 14:46:31 +03:00
Philip Miller
4f65fcd7b1
remove minor optimization for the sake of simplicity
2019-01-24 09:19:52 -05:00
Philip Miller
3925f8fa16
streamline constructor logic
...
and improve test for rotate_on_open=true
2019-01-24 00:06:15 -05:00
Philip Miller
cce1e36e26
Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open
2019-01-23 21:44:27 -05:00
Mark Niebur
6e2dadc63a
Add method to filesinks to return filename
2019-01-23 11:35:55 -07:00
gabime
23fdc0eae4
Fixed issue #959
2019-01-17 17:09:35 +02:00
Philip Miller
4fe98bf6e6
Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open
2019-01-11 10:04:42 -05:00
Ben Ridder
fb702f989f
Fix typo in file_helper.h
...
* "extenstion" -> "extension"
2019-01-08 10:09:11 -08:00
Gabi Melman
b64e4464a7
Update current_size_ to 0 in after of truncating in rotation error
2018-11-20 10:26:10 +02:00
gabime
4df28728e2
clang-format
2018-11-09 14:56:48 +02:00
gabime
b368d18b0f
Added default logger API
2018-10-12 03:04:55 +03:00
gabime
65defd3806
Replaced SPDLOG_FINAL macro with final
2018-09-26 14:33:37 +03:00
gabime
2fa7410c0e
Improve rotating sink error handling
2018-09-18 00:09:58 +03:00
Philip Miller
52a01b2cf2
add argument to rotating file sink for rotate_on_open
...
when true, the log file will be rotated when it is opened so the newly constructed file will start off being empty
2018-09-06 02:47:48 -04:00
gabime
9e4925eff0
clang format
2018-07-21 23:48:07 +03:00
gabime
c2a49080aa
Refactored sink interface and base_sink
2018-07-14 16:21:53 +03:00
gabime
16ee72da7c
clang format
2018-07-10 23:53:00 +03:00
gabime
4e9fafac75
comment
2018-07-10 14:35:54 +03:00
gabime
b9180f8f5a
Fix to a windows issue, where very high rotation rates sometimes fail if antivirus is running.
2018-07-10 14:33:38 +03:00
gabime
0c19bdd772
pattern per sink and pattern caching
2018-06-24 01:32:39 +03:00
gabime
cdbf2e361b
Upgrade to fmt 5.x
2018-06-12 18:48:22 +03:00
gabime
a21594bec7
move underscores to the end of private members
2018-06-10 22:59:17 +03:00
gabime
3c7103d90d
Format
2018-04-29 01:36:45 +03:00
gabime
d389bda2cc
moved file sinks sinks folder
2018-04-29 01:26:10 +03:00