示例#1
0
文件: log.go 项目: hartct/toadserver
package types

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

var log = logger.New("module", "types")
示例#2
0
文件: log.go 项目: hartct/toadserver
package wire

import (
	"github.com/eris-ltd/toadserver/Godeps/_workspace/src/github.com/tendermint/log15"
	"github.com/eris-ltd/toadserver/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(),
		),
	)
}