1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-01 18:54:27 +00:00
GoBlog/debug.go

10 lines
154 B
Go
Raw Normal View History

2021-08-03 19:32:02 +00:00
package main
import "log"
func (a *goBlog) debug(msg ...interface{}) {
if a.cfg.Debug {
log.Println(append([]interface{}{"Debug:"}, msg...)...)
}
}