Commit graph

23 commits

Author SHA1 Message Date
1eb496f343
Rename FileSystem to OSFileManager 2019-10-30 20:17:39 +01:00
81393b67da
Rename FileRotate to LogrotateImpl. Move Logrotate to Logrotate.swift 2019-10-30 20:02:45 +01:00
bdbd615ea4
Rename FileWriter to SizeLimitedFileImpl. Move SizeLimitedFile to SizeLimitedFile.swift 2019-10-30 19:55:04 +01:00
da03316ce6
Remove NSFileHandle+Swift and replace it by calling __write(_:error:) 2019-10-30 18:55:31 +01:00
7bb6adca44
Migrate to Swift 5 2019-04-07 17:36:30 +02:00
677db8a73a
Fixed two bugs caught by unit tests in DiskLogger 2018-09-01 09:12:17 +02:00
ab7ec33418
Uncoupled FileWriter from FileHandle 2018-09-01 09:09:19 +02:00
74fe9ba0d2
Uncoupled DiskLogger from FileWriter 2018-09-01 09:09:19 +02:00
1144d6a90f
Uncoupled DiskLogger from FileRotate 2018-09-01 09:09:19 +02:00
d333992ca6
Renamed Logrotate to FileRotate 2018-09-01 09:09:19 +02:00
7c58a50778
Uncoupled DiskLogger from FileManager 2018-09-01 09:09:19 +02:00
11cdd72a04
Uncoupled Logrotate from FileManager 2018-09-01 09:09:19 +02:00
c3e2462104
Made DiskLogger errors to be appended to buffer instead of being logged to avoid potential infinite loop. 2018-08-25 12:27:10 +02:00
ec98042420
Dropped NSFoundation's string to data conversion method in favor to Swift's one 2018-08-25 11:41:19 +02:00
c83f341d6d
Improved DiskLogger so rotateLogFiles() method's errors are caught instead of being ignored 2018-08-24 21:58:08 +02:00
35cbb3dfb1
Changed log(_:level:) method to accept String message instead of Any 2018-08-22 19:58:34 +02:00
fab84b153b
Made DiskLogger to log it's own errors on warning level 2018-08-21 22:12:43 +02:00
e6f5138523
Converted LogLevel to Int based enum 2018-08-21 22:06:04 +02:00
1803e1dc58
Removed date formatting from Logger protocol extension 2018-08-21 22:06:03 +02:00
fd7edb0c0d
Added comments 2018-08-15 13:02:41 +02:00
6369a55088
Added DiskLogger and it's helper classes: FileWriter and Logrotate 2018-08-15 11:50:17 +02:00
1994ca3b4d
Added NSFileHandle category and bridging header 2018-08-15 11:50:17 +02:00
9ebabca38b
Added ConsoleLogger, NullLogger and AgregateLogger 2018-08-14 08:35:56 +02:00