mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-30 09:12:14 +00:00
16 lines
252 B
Go
16 lines
252 B
Go
package mempool
|
|
|
|
import (
|
|
"github.com/op/go-logging"
|
|
)
|
|
|
|
var log = logging.MustGetLogger("mempool")
|
|
|
|
func init() {
|
|
logging.SetFormatter(logging.MustStringFormatter("[%{level:.1s}] %{message}"))
|
|
}
|
|
|
|
func SetMempoolLogger(l *logging.Logger) {
|
|
log = l
|
|
}
|