I need to Intercept all HTTP requests/responses (GET/POST) in a website that loads on WkWebView in the Swift app.
I tried to work with this plugin [https://github.com/tommy19970714/WebKitURLProtocol]. I was able to intercept with GET request, But it cannot work with POST requests because the POST request body is always missing when I intercept it on the swift.
Post
Replies
Boosts
Views
Activity
I am currently using swift-log library to output the logs in my application.
swift-log -> https://github.com/apple/swift-log
Is there a way to write these logs to a file in the same time they comes in console?(like at the end of the day we can see all the log using that created file)