doodle/lib/ui/log.go

15 lines
234 B
Go
Raw Normal View History

2018-08-01 00:18:13 +00:00
package ui
import "github.com/kirsle/golog"
var log *golog.Logger
func init() {
log = golog.GetLogger("ui")
log.Configure(&golog.Config{
Level: golog.DebugLevel,
Theme: golog.DarkTheme,
Colors: golog.ExtendedColor,
})
}