IOS-1540 Make it compile. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Wed, 12 Jun 2019 16:37:58 +0200
branchIOS-1540_GOOD
changeset 9066616cb425429e
parent 9059 dde99e06222c
child 9067 68a4739b7ab4
IOS-1540 Make it compile.
Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift
     1.1 --- a/Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift	Wed Jun 12 13:05:24 2019 +0200
     1.2 +++ b/Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift	Wed Jun 12 16:37:58 2019 +0200
     1.3 @@ -144,8 +144,12 @@
     1.4      public func log(function: String = #function,
     1.5                      filePath: String = #file,
     1.6                      fileLine: Int = #line,
     1.7 -                    error: Error) {
     1.8 -        error("%@", "\(error)")
     1.9 +                    error theError: Error) {
    1.10 +        error(function: function,
    1.11 +              filePath: filePath,
    1.12 +              fileLine: fileLine,
    1.13 +              "%@",
    1.14 +              "\(theError)")
    1.15      }
    1.16  
    1.17      /// Since this kind of logging is used so often in the codebase, it has its