lbcwallet/rpc/legacyrpc/log.go
2016-02-28 22:22:34 -05:00

15 lines
441 B
Go

// Copyright (c) 2013-2015 The btcsuite developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package legacyrpc
import "github.com/btcsuite/btclog"
var log = btclog.Disabled
// UseLogger sets the package-wide logger. Any calls to this function must be
// made before a server is created and used (it is not concurrent safe).
func UseLogger(logger btclog.Logger) {
log = logger
}