I’ve mentioned a few libraries providing an alternative to NSLog, most recently the XLFacility library which features remote viewing of logging messages in real-time.
Here’s a Swift based logging library called CleanRoomLogger from Gilt Tech with a number of nice features.
CleanRoomLogger allows you to set a severity level for your messages, indicates the line of code from which the log message was generated, and a trace function. You can also extend CleanRoomerLogger with custom filters and formatters, and an API for easy configuration.
You can find CleanroomLogger on Github here.
A nice alternative to NSLog for more useful logging statements.
Original article: Open Source Swift Library Providing An NSLog Replacement For Better Logging Statements
©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.