IOS-1540 Internal osLog switching to String. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 9028fd7e84e7e135
parent 9027 919fcd1cda19
child 9029 dccf4c72edb5
IOS-1540 Internal osLog switching to String.
Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift
     1.1 --- a/Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift	Tue Jun 11 16:28:31 2019 +0200
     1.2 +++ b/Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift	Tue Jun 11 16:28:31 2019 +0200
     1.3 @@ -248,7 +248,7 @@
     1.4                           filePath: String = #file,
     1.5                           fileLine: Int = #line,
     1.6                           args: [CVarArg]) {
     1.7 -        osLog(message: message,
     1.8 +        osLog(message: "\(message)",
     1.9                severity: severity,
    1.10                function: function,
    1.11                filePath: filePath,
    1.12 @@ -261,7 +261,7 @@
    1.13          there is an official version of it that accepts `[CVarArg]` (os_logv?),
    1.14          interpolation is handled by us.
    1.15       */
    1.16 -    private func osLog(message: StaticString,
    1.17 +    private func osLog(message: String,
    1.18                         severity: Severity,
    1.19                         function: String = #function,
    1.20                         filePath: String = #file,