Skip to content

Commit

Permalink
remove debug statement
Browse files Browse the repository at this point in the history
Signed-off-by: Manabu McCloskey <[email protected]>
  • Loading branch information
nabuskey committed Aug 27, 2024
1 parent 6229b6a commit de68ef6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/logger/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"log/slog"
"runtime"
"slices"
"strings"
"sync"
"time"
)
Expand Down Expand Up @@ -179,9 +178,6 @@ func (h *Handler) Handle(ctx context.Context, record slog.Record) error {
} else {
buf = slog.Time(slog.TimeKey, record.Time).Value.Time().AppendFormat(buf, fmt.Sprintf("%s ", dateFormat))
buf = fmt.Appendf(buf, "%s ", record.Level)
if strings.Contains(record.Message, "Adding CRDs to the cluster") {
fmt.Println("hi")
}
buf = fmt.Appendf(buf, "%s ", record.Message)
}

Expand Down

0 comments on commit de68ef6

Please sign in to comment.