Skip to content

Commit 6f686b2

Browse files
committed
Remove log from countDown and CountUp methods
1 parent 2969ef4 commit 6f686b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

MagicTimer/Classes/MagicTimer.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public class MagicTimer: MGLogable {
112112
}
113113

114114
private func countUp() {
115-
log(message: "Count mode is \(countMode)")
116115

117116
container.executive.observeValue = {
118117
self.container.counter.add()
@@ -121,7 +120,6 @@ public class MagicTimer: MGLogable {
121120
}
122121

123122
private func countDown(fromSeconds: TimeInterval) {
124-
log(message: "Count mode is \(countMode)")
125123
// Checking if defaultValue plus fromSeconds not going to invalid format(negative seconds).
126124
guard (defultValue + fromSeconds).truncatingRemainder(dividingBy: effectiveValue ) == 0 else {
127125
fatalError("The time does not leading to valid format. Use valid effetiveValue")

0 commit comments

Comments
 (0)