MovieNight/common/logging_dev.go

19 lines
263 B
Go
Raw Normal View History

// +build dev
package common
import (
"log"
"os"
)
2019-03-25 04:54:24 +01:00
var logDev *log.Logger = log.New(os.Stdout, "[DEV]", log.LstdFlags)
func LogDevf(format string, v ...interface{}) {
logDev.Printf(format, v...)
}
func LogDevln(v ...interface{}) {
logDev.Println(v...)
}