浏览代码

remove filename/linenumber from log; this does not help currently and adds noise only

B. Petersen 4 年之前
父节点
当前提交
f6b4737d4e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      deltachat-ios/AppDelegate.swift

+ 1 - 0
deltachat-ios/AppDelegate.swift

@@ -40,6 +40,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         DBDebugToolkit.setupCrashReporting()
         
         let console = ConsoleDestination()
+        console.format = "$DHH:mm:ss.SSS$d $C$L$c $M" // see https://docs.swiftybeaver.com/article/20-custom-format
         logger.addDestination(console)
         dcContext.logger = DcLogger()
         logger.info("➡️ didFinishLaunchingWithOptions")