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: testing.go
    path of file: ./repos/cosmos-sdk/log
    
    the code of the file until where you have to start completion: package log

import "github.com/rs/zerolog"

// TestingT is the interface required for logging in tests.
// It is a subset of testing.T to avoid a direct dependency on the testing packa
    
func newTestLogger(t TestingT, lvl zerolog.Level) Logger {
	cw := zerolog.NewConsoleWriter()
	cw.Out = zerolog.TestWriter{
		T: t,
		// Normally one would use zerolog.ConsoleTestWriter
		// to set the option on NewConsoleWriter,
		// but the zerolog source for that is hardcoded to Frame=6.
		// With Frame=6, all source locations are printed as "logger.go",
		// but Frame=7 prints correct source locations.
		Frame: 7,
	}
	return NewCustomLogger(zerolog.New(cw).Level(lvl))
}