소스 검색

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")