github.com/blend/go-sdk@v1.20220411.3/testutil/opt_log.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package testutil
     9  
    10  import "github.com/blend/go-sdk/logger"
    11  
    12  // OptLog sets the suite logger.
    13  func OptLog(log logger.Log) Option {
    14  	return func(s *Suite) {
    15  		s.Log = log
    16  	}
    17  }