Silencing NSLog
Read OriginalThis technical article addresses the problem of excessive console logging from third-party libraries in iOS/macOS development. It explains how to use the private `_NSSetLogCStringFunction()` to intercept and silence NSLog output, providing Swift and Objective-C bridging code examples. It also discusses trade-offs, like losing Apple framework logs, and suggests alternatives like custom logging.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser