code: func UseLogger(logger btclog.Logger) {
  	log = logger
  
  	// Update the logger for the registered drivers.
  	for _, drv := range drivers {
  		if drv.UseLogger != nil {
  			drv.UseLogger(logger)
  		}
  	}
  }
docs: // UseLogger uses a specified Logger to output package logging info.