Closed aarononeal closed 11 years ago
The current implementation allocates a new NSString which interferes with the dealloc interceptor. One fix would be to use printf instead of NSLog during dealloc, but there are edge cases to deal with. Closing pull request for now.
I have implemented a logging solution based on the ASL in the following pull request: https://github.com/Monobjc/monobjc/pull/404. Can you give it a try and let me know if this works on iOS ?
By logging with NSLog instead of printf, output is also written to the system console. This is useful for debugging, especially on a remote device (e.g. iOS).