Problem
this will display Some string: <private>
os_log(logger, "Some string: %s", "text that will display <private>")
Solve
In order for the text to display as expected, it would need to be declared with the public tag:
os_log(logger, "Some string: %{public}s", "text that will display as expected")
'ios' 카테고리의 다른 글
iOS 라이브러리 배포하는 법 - CocoaPods, SPM, Carthage (0) | 2022.03.07 |
---|---|
GCD에서 의도치 않은 교착상태를 피하는 법 (0) | 2021.12.22 |
DispatchQueue 교착상태 (0) | 2021.12.22 |
DispatchQueue 종류 세 가지 (0) | 2021.12.21 |
동기/비동기, 직렬/동시 (0) | 2021.12.21 |
댓글