misc: remove excess logging

This commit is contained in:
Roman Godmaire 2024-05-14 21:49:23 -04:00
parent 737a428f52
commit 5d2ec9b3a1

View file

@ -1,7 +1,6 @@
package main
import (
"log/slog"
"slices"
"time"
)
@ -107,8 +106,6 @@ func getBookWithTimestamp(timeRemaining time.Duration) (string, time.Duration) {
slices.Reverse(stormlight)
for _, book := range stormlight {
slog.Info("Checking...", "name", book.Name, "length", book.Length, "timeRemaining", timeRemaining)
if timeRemaining < book.Length {
return book.Name, book.Length - timeRemaining
}