Episode #244

Logging with Swifty Beaver

13 minutes
Published on November 11, 2016

This video is only available to subscribers. Get access to this video and 584 others.

Logging is an important part of diagnosing issues in our application. Unfortunately, once they've shipped it's difficult to retrieve these logs to help identify issues with our released software. In this episode I'll take a look at SwiftyBeaver, a library that aims to make logging easy and accessible. We'll show how you can separate log messages by severity, selectively log some messages to the Xcode Console, some messages to a file, and sending them encrypted to the SwiftBeaver cloud platform for viewing with their provided viewer application.

This episode uses Swiftybeaver 1.1.0, Cocoapods 1.1.1, Xcode 8.2.