From ffb9600089f3718f924ca1a9b15f522f79d8ebf6 Mon Sep 17 00:00:00 2001 From: Gregory Wells Date: Tue, 24 Mar 2026 18:09:49 -0400 Subject: [PATCH] some more changes to the Logger --- src/logging/logging.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/logging/logging.go b/src/logging/logging.go index c74686e..5e70b44 100644 --- a/src/logging/logging.go +++ b/src/logging/logging.go @@ -12,19 +12,19 @@ const ( ) func Info(message string) { - log.Print(message) + log.Printf("Info: %s", message) } -func Infof(message string, vars ...any) { - log.Printf(message, vars...) +func Infof(message string, v ...any) { + log.Printf("Info: %s", fmt.Sprintf(message, v...)) } func Debug(message string) { - log.Printf("Warn: %s", message) + log.Printf("Debug: %s", message) } func Debugf(message string, v ...any) { - log.Printf("Warn: %s", fmt.Sprintf(message, v...)) + log.Printf("Debug: %s", fmt.Sprintf(message, v...)) } func Warn(message string) {