Re-work loading of configuration, introduce a loader for start up & and custom logging wrapper.

This commit is contained in:
2025-04-15 21:10:57 +01:00
parent d7c15141b8
commit 0a5d61ea1e
6 changed files with 119 additions and 3 deletions

13
logging/messages.go Normal file
View File

@@ -0,0 +1,13 @@
package logging
import (
"log"
)
func Info(msg string, args ...any) {
log.Printf("[INFO] "+msg, args...)
}
func Error(msg string, args ...any) {
log.Printf("[ERROR] "+msg, args...)
}