Exemplo n.º 1
0
Arquivo: log.go Projeto: intfrr/mindy
package wire

import (
	"github.com/eris-ltd/mindy/Godeps/_workspace/src/github.com/tendermint/log15"
	"github.com/eris-ltd/mindy/Godeps/_workspace/src/github.com/tendermint/tendermint/logger"
)

var log = logger.New("module", "binary")

func init() {
	log.SetHandler(
		log15.LvlFilterHandler(
			log15.LvlWarn,
			//log15.LvlDebug,
			logger.RootHandler(),
		),
	)
}
Exemplo n.º 2
0
Arquivo: log.go Projeto: intfrr/mindy
package types

import (
	"github.com/eris-ltd/mindy/Godeps/_workspace/src/github.com/tendermint/tendermint/logger"
)

var log = logger.New("module", "types")