You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: klogr_test.go
    path of file: ./repos/franz-go/plugin/klogr
    
    the code of the file until where you have to start completion: package klogr

import (
	"fmt"
	"testing"

	"github.com/go-logr/logr/funcr"
	"github.com/twmb/franz-go/pkg/kgo"
)

func TestLogger_Log(t *testing.T) {
	for _, test := range []struct {
		level        kgo.LogLevel
		expectOutput bool
	}{
		{level: kgo.LogLevelInfo, expectOutput: true},
		{level: kgo.LogLevelError, expectOutput: true},
		{level: kgo.
    
func TestLogger_Log(t *testing.T) {
	for _, test := range []struct {
		level        kgo.LogLevel
		expectOutput bool
	}{
		{level: kgo.LogLevelInfo, expectOutput: true},
		{level: kgo.LogLevelError, expectOutput: true},
		{level: kgo.LogLevelNone, expectOutput: false},
	} {
		t.Run(fmt.Sprintf("logging level %s", test.level), func(t *testing.T) {
			l, hasOutput := loggerOutput()
			l.Log(test.level, msg, keyvals...)

			if *hasOutput != test.expectOutput {
				t.Errorf("expect output: %v, has output: %t", test.expectOutput, *hasOutput)
			}
		})
	}
}