mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
add crashlytics log for app extensions
This commit is contained in:
parent
3c1b675252
commit
92815c79cf
1 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,9 @@
|
|||
*/
|
||||
|
||||
import linphonesw
|
||||
#if USE_CRASHLYTHICS
|
||||
import Firebase
|
||||
#endif
|
||||
|
||||
enum LinphoneError: Error {
|
||||
case timeout
|
||||
|
|
@ -63,6 +66,9 @@ class LinphoneLoggingServiceManager: LoggingServiceDelegate {
|
|||
level = "unknown"
|
||||
}
|
||||
|
||||
#if USE_CRASHLYTHICS
|
||||
Crashlytics.crashlytics().log("\(level) [\(domain)] \(message)\n")
|
||||
#endif
|
||||
NSLog("\(level) [\(domain)] \(message)\n")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue