Skip to content

Commit c8b5eb9

Browse files
authored
Merge pull request loopandlearn#392 from loopandlearn/no-taskscheduler-debug-log
Skip task scheduler logging
2 parents e82d9a4 + b74cd28 commit c8b5eb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

LoopFollow/Log/LogManager.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ class LogManager {
6363
consoleQueue.async {
6464
print(logMessage)
6565
}
66+
67+
if category == .taskScheduler && isDebug {
68+
return
69+
}
6670

6771
if let key = limitIdentifier, !Storage.shared.debugLogLevel.value {
6872
let shouldLog: Bool = rateLimitQueue.sync {

0 commit comments

Comments
 (0)