emaloney / CleanroomLogger

CleanroomLogger provides an extensible Swift-based logging API that is simple, lightweight and performant
MIT License
1.32k stars 153 forks source link

Non-synchronous LogFileRecorder always missing the last logs #74

Closed hartbit closed 7 years ago

hartbit commented 7 years ago

Because LogFileRecorder in non-synchronous mode never flushes, there always seems to be missing some data at the end of the log file. If the app crashes, I'm missing the critical information to debug the problem. Is there a solution?

emaloney commented 7 years ago

Funny you should mention that. I just hit that problem myself. I will issue a patch update that flushes after each log, even in asynchronous mode.

emaloney commented 7 years ago

Hello, I've issued a 5.0.3 release to address this issue. Please let me know if this works for you. Thanks!

hartbit commented 7 years ago

Thanks for the Swift response (pun intended)!

On 14 Mar 2017, at 17:43, emaloney notifications@github.com wrote:

Hello, I've issued a 5.0.3 release to address this issue. Please let me know if this works for you. Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.