Skip to content

Commit 92c7658

Browse files
committed
Enable OSLogs showing when running before app is running
1 parent 3b136e1 commit 92c7658

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DemoApp/Sources/Components/MemoryLogDestination/OSLogDestination.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
5050

5151
switch logDetails.level {
5252
case .debug:
53-
logger.debug("\(formattedMessage)")
53+
logger.debug("\(formattedMessage, privacy: .public)")
5454
case .info:
55-
logger.notice("\(formattedMessage)")
55+
logger.notice("\(formattedMessage, privacy: .public)")
5656
case .warning:
57-
logger.warning("\(formattedMessage)")
57+
logger.warning("\(formattedMessage, privacy: .public)")
5858
case .error:
59-
logger.critical("\(formattedMessage)")
59+
logger.critical("\(formattedMessage, privacy: .public)")
6060
}
6161
}
6262
}

0 commit comments

Comments
 (0)