chore: update log prefix
This commit is contained in:
parent
925ab255f4
commit
1be050a543
@ -45,6 +45,6 @@ func main() {
|
||||
mux.PublicHandleFunc("/", handler.FileHandler)
|
||||
|
||||
// start listening
|
||||
log.Info("http://localhost:%d/\n", mux.Port)
|
||||
log.Info("Listening at http://localhost:%d/\n", mux.Port)
|
||||
mux.ListenAndServe()
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ func SetLoglevel(_loglevel int) {
|
||||
}
|
||||
|
||||
func logWithPrefix(message string) {
|
||||
fmt.Printf("knowyt: %s", message)
|
||||
fmt.Printf("[knowyt] %s", message)
|
||||
}
|
||||
|
||||
func Debug(format string, v ...any) {
|
||||
|
Loading…
Reference in New Issue
Block a user