diff --git a/Sources/Logging OSLog/Docs.docc/index.md b/Sources/Logging OSLog/Docs.docc/index.md index b392772..528a4ce 100644 --- a/Sources/Logging OSLog/Docs.docc/index.md +++ b/Sources/Logging OSLog/Docs.docc/index.md @@ -85,8 +85,8 @@ library maps a reverse domain style label to the subsystem and category parameters of the unified logging system. See ``/LoggingOSLog/LoggingOSLog/init(label:)`` for more information. -Metadata is appended as JSON to the logged message after an ASCII right -arrow ("->"). +Metadata is appended as JSON to the logged message after a simple unicode right +arrow ("→"). ### What this library does not supply This library does not implement any of the interpolation privacy features of diff --git a/Sources/Logging OSLog/Logging OSLog.swift b/Sources/Logging OSLog/Logging OSLog.swift index bfd965e..69aeac6 100644 --- a/Sources/Logging OSLog/Logging OSLog.swift +++ b/Sources/Logging OSLog/Logging OSLog.swift @@ -81,7 +81,7 @@ public struct LoggingOSLog: LogHandler { let metadataCSV = Self.joinedMetadata(self.metadata, self.metadataProvider?.get(), metadata) let messageParts = [message.description, metadataCSV] - let message = messageParts.compactMap { $0 }.joined(separator: " -> ") + let message = messageParts.compactMap { $0 }.joined(separator: " → ") self.oslogger.log(level: OSLogType.from(loggerLevel: level), "\(message, privacy: .public)") }