blog/core/log.go

14 lines
210 B
Go
Raw Normal View History

2017-10-08 04:48:58 +00:00
package core
import "github.com/kirsle/golog"
var log *golog.Logger
func init() {
log = golog.GetLogger("blog")
log.Configure(&golog.Config{
Colors: golog.ExtendedColor,
Theme: golog.DarkTheme,
})
}