Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runLogrTestWithScope (0.13 sec)

  1. pkg/log/logr_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package log
    
    import (
    	"errors"
    	"testing"
    
    	"github.com/go-logr/logr"
    )
    
    func runLogrTestWithScope(t *testing.T, s *Scope, f func(l logr.Logger)) []string {
    	lines, err := captureStdout(func() {
    		Configure(DefaultOptions())
    		l := NewLogrAdapter(s)
    		f(l)
    		_ = Sync()
    	})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top