chore: update log prefix

This commit is contained in:
Settel 2022-11-06 17:12:42 +01:00
parent 925ab255f4
commit 1be050a543
2 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,6 @@ func main() {
mux.PublicHandleFunc("/", handler.FileHandler) mux.PublicHandleFunc("/", handler.FileHandler)
// start listening // start listening
log.Info("http://localhost:%d/\n", mux.Port) log.Info("Listening at http://localhost:%d/\n", mux.Port)
mux.ListenAndServe() mux.ListenAndServe()
} }

View File

@ -16,7 +16,7 @@ func SetLoglevel(_loglevel int) {
} }
func logWithPrefix(message string) { func logWithPrefix(message string) {
fmt.Printf("knowyt: %s", message) fmt.Printf("[knowyt] %s", message)
} }
func Debug(format string, v ...any) { func Debug(format string, v ...any) {