Update logger functions to use variadic parameters instead of slices

This commit is contained in:
Achim Rohn
2026-01-15 22:42:14 +01:00
parent d27aa6b60a
commit 125b8679a0
+2 -2
View File
@@ -15,7 +15,7 @@ func LogDebug(message string, a ...any) {
ErstellerLogger.LogDebug(message, a...)
}
func PrintLogDebug(message string, a []any) {
func PrintLogDebug(message string, a ...any) {
println(fmt.Sprintf(message, a...))
}
@@ -27,7 +27,7 @@ func Debug(a ...any) {
ErstellerLogger.Debug(a)
}
func PrintDebug(a []any) {
func PrintDebug(a ...any) {
stringValue := joinStrings(a)
println(stringValue)
}