Closed AvdLee closed 3 years ago
Warnings | |
---|---|
:warning: | **Sources/DiagnosticsLogger.swift#L143** - It is safer to use weak instead of unowned |
Messages | |
---|---|
:book: | View more details on Bitrise |
:book: | Diagnostics: Executed 19 tests, with 0 failures (0 unexpected) in 0.366 (0.597) seconds |
File | Coverage | |
---|---|---|
LogsReporterTests.swift | 97.37% | ✅ |
File | Coverage | |
---|---|---|
DiagnosticsLogger.swift | 62.23% | ✅ |
Generated by :no_entry_sign: Danger Swift against db4c2bd7b4420054b1c915e6bd5cc6c8aad983e3
Congratulations! :tada: This was released as part of Release 1.9.0 :rocket:
Generated by GitBuddy
I've looked at other logging implementation, like SwiftyBeaver and figured we could do a better job in terms of writing performance. Also, it seemed that certain logs weren't written when the app was in the background. The changes in this PR increase chances of logs ending up in the reports by closing the file handle right after writing.