Refactoring pkg/utils/log, copying from golang's log and modifying

This commit is contained in:
Frederick F. Kautz IV
2015-03-28 15:58:48 -07:00
parent 7f753a3965
commit b165efdfcb
11 changed files with 336 additions and 160 deletions

View File

@@ -50,7 +50,7 @@ func Start(path string) (chan<- string, <-chan error, drivers.Driver) {
s.donut, err = donut.NewDonut(path)
err = iodine.New(err, map[string]string{"path": path})
if err != nil {
log.Errorln(err)
log.Error.Println(err)
}
go start(ctrlChannel, errorChannel, s)