some more changes to the Logger

This commit is contained in:
Gregory Wells
2026-03-24 18:09:49 -04:00
parent d62e1f7b8f
commit ffb9600089

View File

@@ -12,19 +12,19 @@ const (
) )
func Info(message string) { func Info(message string) {
log.Print(message) log.Printf("Info: %s", message)
} }
func Infof(message string, vars ...any) { func Infof(message string, v ...any) {
log.Printf(message, vars...) log.Printf("Info: %s", fmt.Sprintf(message, v...))
} }
func Debug(message string) { func Debug(message string) {
log.Printf("Warn: %s", message) log.Printf("Debug: %s", message)
} }
func Debugf(message string, v ...any) { 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) { func Warn(message string) {