decred.org/dcrwallet/v3@v3.1.0/spv/log.go (about)

     1  // Copyright (c) 2013-2014 The btcsuite developers
     2  // Use of this source code is governed by an ISC
     3  // license that can be found in the LICENSE file.
     4  
     5  package spv
     6  
     7  import "github.com/decred/slog"
     8  
     9  var log = slog.Disabled
    10  
    11  // UseLogger uses a specified Logger to output package logging info.
    12  func UseLogger(logger slog.Logger) {
    13  	log = logger
    14  }