kasketis / netfox

A lightweight, one line setup, iOS / OSX network debugging library! 🦊
MIT License
3.65k stars 368 forks source link

Added a centralized logger to turn off or on xcode console logs. #259

Open iaaqibhussain opened 1 year ago

iaaqibhussain commented 1 year ago

So I have been using NFX for a few months now in our project. I really like it so far. I found out that NFX generates a lot of Xcode console logs which create a lot of noise in the console and makes it hard for us to look for our relevant logs. In order to remove that I have created a NFXLogger singleton class and replaced all the print statements in the codebase from NFXLogger.