2019-10-24 13:04:26 +03:00
|
|
|
package migration_01_to_11
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/btcsuite/btclog"
|
|
|
|
)
|
|
|
|
|
2019-10-29 14:07:59 +03:00
|
|
|
// log is a logger that is initialized as disabled. This means the package will
|
|
|
|
// not perform any logging by default until a logger is set.
|
|
|
|
var log = btclog.Disabled
|
2019-10-24 13:04:26 +03:00
|
|
|
|
|
|
|
// UseLogger uses a specified Logger to output package logging info.
|
|
|
|
func UseLogger(logger btclog.Logger) {
|
|
|
|
log = logger
|
|
|
|
}
|