The new logging system looks nice, but the video didn't discuss how to get those logs from production devices. It only covered getting them during testing.
If a customer contacts support from inside my app, I need to get a copy of the logs from that app/user. I currently am writing my logs to a text file, and then attaching that when they contact support. I realize that isn't ideal from a performance perspective.
If a customer contacts support from inside my app, I need to get a copy of the logs from that app/user. I currently am writing my logs to a text file, and then attaching that when they contact support. I realize that isn't ideal from a performance perspective.
Code Block import os let logger = Logger(subsystem: "com.example.Fruta", category: "giftcards") logger.log("Started a task")