This commit is contained in:
Gregory Eremin 2015-02-12 02:49:32 +07:00
parent db1829f9ed
commit ac269889ed

View File

@ -2,6 +2,8 @@ package core
import ( import (
"encoding/json" "encoding/json"
"log"
"os"
"github.com/localhots/confection" "github.com/localhots/confection"
) )
@ -20,6 +22,10 @@ type (
) )
func (c *Config) Init() { func (c *Config) Init() {
log.SetOutput(os.Stderr)
log.SetFlags(log.Ltime)
log.SetPrefix("YEAST @ ")
c.conf = confection.New(*c, c.decoder) c.conf = confection.New(*c, c.decoder)
go c.conf.StartServer() go c.conf.StartServer()
c.conf.RequireConfig() c.conf.RequireConfig()