From 75993d6ece1542cb298adc207dfad8437100f18a Mon Sep 17 00:00:00 2001 From: Arya Tabaie <15056835+Tabaie@users.noreply.github.com> Date: Thu, 23 Jan 2025 10:25:34 -0600 Subject: [PATCH] revert: remove conditionallog --- internal/utils/test_utils/test_utils.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/internal/utils/test_utils/test_utils.go b/internal/utils/test_utils/test_utils.go index 01f5c00a8..51f0a9d08 100644 --- a/internal/utils/test_utils/test_utils.go +++ b/internal/utils/test_utils/test_utils.go @@ -4,24 +4,9 @@ import ( "bytes" "github.com/stretchr/testify/require" "io" - "log" "testing" ) -var ConditionalLoggerEnabled bool - -func ConditionalLog(v ...any) { - if ConditionalLoggerEnabled { - log.Println(v...) - } -} - -func ConditionalLogf(format string, v ...any) { - if ConditionalLoggerEnabled { - log.Printf(format, v...) - } -} - // Range (n, startingPoints...) = [startingPoints[0], startingPoints[0]+1, ..., startingPoints[0]+n-1, startingPoints[1], startingPoints[1]+1, ...,] // or [0, 1, ..., n-1] if startingPoints is empty func Range(n int, startingPoints ...int) []int {