Commit Graph

43 Commits (c03c925e295a7e67c64afedaf28dfb7f354cedb1)

Author SHA1 Message Date
gabime dc030ec53c clang-format 4 years ago
gabime 5b7dfefc7e rename file_event_handlers_t to file_event_handlers 4 years ago
seker 24a551c14e file_event_handlers add before_open function 4 years ago
seker c47ae3b15d add file event handlers 4 years ago
gabime e7e8b75a4c clang-format 4 years ago
gabime a0dae55a69 Revert 7f15fb2a21 since it breaks the ABI 5 years ago
Tamas Florin d5aa8db36f Add missing os include for rotating_file_sink. 5 years ago
Tamas Florin 071206ef59 Add support for custom filename calculator in rotating_file_sink. 5 years ago
tt4g 0cf1af5bbf Avoid references to race data filename 6 years ago
Gabi Melman 9e9da42c64
Update rotating_file_sink.h 6 years ago
tt4g 0778211116 Add critical section to filename function of each file sink 6 years ago
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.
6 years ago
casperevan 67f3a83c31 Fix missing include for null_mutex in rotating_file_sink.h 6 years ago
gabime bcfa9241b8 Updated copyright headers 6 years ago
gabime eea9d6136f Moved default sync factory to seperate file to avoid cyclic includes 6 years ago
gabime 78eeba940a Fix issue #114 6 years ago
gabime 09e83937de wip static-lib 6 years ago
gabime 42e30468a9 added rotating_file_sink to static build 6 years ago
gabime 46ef71e3ec Normalized copyright message 6 years ago
gabime 6b0bf33f8e clang-format 7 years ago
Philip Miller 4f65fcd7b1 remove minor optimization for the sake of simplicity 7 years ago
Philip Miller 3925f8fa16 streamline constructor logic
and improve test for rotate_on_open=true
7 years ago
Philip Miller cce1e36e26 Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open 7 years ago
Mark Niebur 6e2dadc63a Add method to filesinks to return filename 7 years ago
gabime 23fdc0eae4 Fixed issue #959 7 years ago
Philip Miller 4fe98bf6e6 Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open 7 years ago
Ben Ridder fb702f989f Fix typo in file_helper.h
* "extenstion" -> "extension"
7 years ago
Gabi Melman b64e4464a7
Update current_size_ to 0 in after of truncating in rotation error 7 years ago
gabime 4df28728e2 clang-format 7 years ago
gabime b368d18b0f Added default logger API 7 years ago
gabime 65defd3806 Replaced SPDLOG_FINAL macro with final 7 years ago
gabime 2fa7410c0e Improve rotating sink error handling 7 years ago
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
7 years ago
gabime 9e4925eff0 clang format 7 years ago
gabime c2a49080aa Refactored sink interface and base_sink 7 years ago
gabime 16ee72da7c clang format 7 years ago
gabime 4e9fafac75 comment 7 years ago
gabime b9180f8f5a Fix to a windows issue, where very high rotation rates sometimes fail if antivirus is running. 7 years ago
gabime 0c19bdd772 pattern per sink and pattern caching 7 years ago
gabime cdbf2e361b Upgrade to fmt 5.x 7 years ago
gabime a21594bec7 move underscores to the end of private members 7 years ago
gabime 3c7103d90d Format 7 years ago
gabime d389bda2cc moved file sinks sinks folder 7 years ago