1 // Copyright (c) 2016 The btcsuite developers
2 // Use of this source code is governed by an ISC
3 // license that can be found in the LICENSE file.
7 import "github.com/btcsuite/btclog"
9 // log is a logger that is initialized with no output filters. This
10 // means the package will not perform any logging by default until the caller
14 // The default amount of logging is none.
19 // DisableLog disables all library log output. Logging output is disabled
20 // by default until either UseLogger or SetLogWriter are called.
25 // UseLogger uses a specified Logger to output package logging info.
26 // This should be used in preference to SetLogWriter if the caller is also
28 func UseLogger(logger btclog.Logger) {