Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 369 Bytes
package consensus
import (
logging "github.com/inconshreveable/log15"
"boscoin.io/sebak/lib/common"
)
var log logging.Logger = logging.New("module", "consensus")
func init() {
SetLogging(common.DefaultLogLevel, common.DefaultLogHandler)
}
func SetLogging(level logging.Lvl, handler logging.Handler) {
log.SetHandler(logging.LvlFilterHandler(level, handler))
}
You can’t perform that action at this time.