Commit Graph

31 Commits

Author SHA1 Message Date
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