Here’s a library called XLFacility providing a drop in replacement of NSLog with a number of added features from Pierre-Olivier Latour.
Some of the features of XLFacility include:
- Viewing of logging messages in real-time via Telnet or TCP
- An HTTP server for viewing real-time log messagess and browsing past logging messages
- Different logging levels, and macros for easy logging at each level
- Customizable logging formats
- An in-app logging overlay that can appear when messages are sent to XLFacility
- A nice syntax for creating your own custom loggers
With XLFacility you can log to the console, a file, a SQLite database, and you can also view messages in realt-time via Telnet or TCP and there is a built-in http server so you can browse past log messages or see live updates.
You can find XLFacility on Github here.