misc: remove excess logging
This commit is contained in:
parent
737a428f52
commit
5d2ec9b3a1
1 changed files with 0 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log/slog"
|
|
||||||
"slices"
|
"slices"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
@ -107,8 +106,6 @@ func getBookWithTimestamp(timeRemaining time.Duration) (string, time.Duration) {
|
||||||
slices.Reverse(stormlight)
|
slices.Reverse(stormlight)
|
||||||
|
|
||||||
for _, book := range stormlight {
|
for _, book := range stormlight {
|
||||||
slog.Info("Checking...", "name", book.Name, "length", book.Length, "timeRemaining", timeRemaining)
|
|
||||||
|
|
||||||
if timeRemaining < book.Length {
|
if timeRemaining < book.Length {
|
||||||
return book.Name, book.Length - timeRemaining
|
return book.Name, book.Length - timeRemaining
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue