IOS-1540 Docs for osLog. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 9020716e8e8afd3e
parent 9019 bb44b2d74f50
child 9021 7f8083173e1d
IOS-1540 Docs for osLog.
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 @@ -257,10 +257,9 @@
     1.4      }
     1.5  
     1.6      /**
     1.7 -     - Note: Logs in a format that is not pretty, but gets all the data across.
     1.8 -       The restrictions are given to `os_log`'s implementation,
     1.9 -       requiring a `StaticString`, which according to the documentation
    1.10 -       must be known at compile time.
    1.11 +     - Note: Wrapping `os_log` causes all kinds of problems, so until
    1.12 +        there is an official version of it that accepts `[CVarArg]` (os_logv?),
    1.13 +        interpolation is handled by us.
    1.14       */
    1.15      private func osLog(message: StaticString,
    1.16                         severity: Severity,