I'm trying to override the NSLog method for the entire project and third parties to add some logic to it, for example - if the logged message has the string "dog" in it, replace it with a dog emoji and then continue.
Is there a way to override the method such that third parties I use will also be affected by that?
Is there a different way to catch console output, modify it and only then print it?
Thanks!
Here is how to do it.