Commit graph

23 commits

Author SHA1 Message Date
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
f31ac61839
Removed unused methods 2018-08-22 19:58:52 +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
41462ded26
Redesign LogLevel to conform to syslog severity levels 2018-08-21 22:11:09 +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
9986812c98
Fixed compilation error in projects where Logger was added as dependency 2018-08-15 11:50:17 +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
b65fbcee40
Added Logger and LogStringConvertible protocols 2018-08-14 08:28:44 +02:00
ce402d769c
Created initial Xcode project 2018-08-14 08:21:45 +02:00