Skip to content

Commit

Permalink
Removed annoying Log too big message
Browse files Browse the repository at this point in the history
  • Loading branch information
ddaddy committed Jun 13, 2023
1 parent 3fe0281 commit 7579624
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Logging/LogManager.swift
Expand Up @@ -252,7 +252,9 @@ public class LogManager: NSObject {
private func checkLogLength() {

if _logs.count > Self.maxLogLength {
print("Log too big: \(_logs.count) so trimming.")
if Self.debugLogsToScreen == true {
print("Log too big: \(_logs.count) so trimming.")
}
_logs.remove(at: 0)
}
}
Expand Down

0 comments on commit 7579624

Please sign in to comment.