mirror of https://github.com/jlelse/GoBlog
10 lines
154 B
Go
10 lines
154 B
Go
|
package main
|
||
|
|
||
|
import "log"
|
||
|
|
||
|
func (a *goBlog) debug(msg ...interface{}) {
|
||
|
if a.cfg.Debug {
|
||
|
log.Println(append([]interface{}{"Debug:"}, msg...)...)
|
||
|
}
|
||
|
}
|