📜  快速写入 ios 日志 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:00:58.080000             🧑  作者: Mango

代码示例1
extension Logger {
    private static var subsystem = Bundle.main.bundleIdentifier!

    /// Logs the view cycles like viewDidLoad.
    static let viewCycle = Logger(subsystem: subsystem, category: "viewcycle")
}