diff --git a/BuildaKit/Logging.swift b/BuildaKit/Logging.swift index b411b5a..4ec0801 100644 --- a/BuildaKit/Logging.swift +++ b/BuildaKit/Logging.swift @@ -21,7 +21,8 @@ public class Logging { loggers.append(consoleLogger) if alsoIntoFile { - let fileLogger = FileLogger(filePath: path) + let fileLogger = FileLogger(fileURL: path) + fileLogger.fileSizeCap = 1024 * 1024 * 10 // 10MB loggers.append(fileLogger) } diff --git a/Podfile b/Podfile index 103759b..7bdaf5b 100644 --- a/Podfile +++ b/Podfile @@ -3,7 +3,7 @@ use_frameworks! inhibit_all_warnings! def pods_for_errbody - pod 'BuildaUtils', '~> 0.2.4' + pod 'BuildaUtils', '~> 0.2.6' end def rac diff --git a/Podfile.lock b/Podfile.lock index 3799830..de7a87a 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,6 +1,6 @@ PODS: - Alamofire (2.0.0-beta.3) - - BuildaUtils (0.2.4) + - BuildaUtils (0.2.6) - CryptoSwift (0.2.2) - ekgclient (0.3.0): - Alamofire (= 2.0.0-beta.3) @@ -26,7 +26,7 @@ PODS: - BuildaUtils (~> 0.2.3) DEPENDENCIES: - - BuildaUtils (~> 0.2.4) + - BuildaUtils (~> 0.2.6) - CryptoSwift - ekgclient (~> 0.3.0) - Ji (~> 1.2.0) @@ -36,7 +36,7 @@ DEPENDENCIES: SPEC CHECKSUMS: Alamofire: 39dddb7d3725d1771b1d2f7099c8bd45bd83ffbb - BuildaUtils: c509ce20402656700006eb5ab80c735fbf2b3864 + BuildaUtils: 9fbc3dfa77e778cb937292572eccef47dc97e102 CryptoSwift: d382228d6301c09474132417878a741c2a2e68cd ekgclient: 40f5d347e2ede450b3e50ac7c6bd84d96e7b84ad Ji: ddebb22f9ac445db6e884b66f78ea74fb135fdb7