OSLog and Unified logging as recommended by Apple

OSLog as a replacement of print and NSLog is the recommended way of logging by Apple. It’s a bit harder to write, but it comes with some nice advantages compared to it’s better-known friends. Setting up OSLog OSLog makes it possible to log per category, which can be used to filter logs using the Console …