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: kzerolog.go
    path of file: ./repos/franz-go/plugin/kzerolog
    
    the code of the file until where you have to start completion: // Package kzerolog provides a plug-in kgo.Logger wrapping zerolog.Logger for usage in
// a kgo.Client.
//
// This can be used like so:
//
//	cl, err := kgo.NewClient(
//	        kgo.WithLogger(kzerolog.New(logger)),
//	        // ...other opts
//	)
package kzerolog

import (

    
func (l *Logger) Level() kgo.LogLevel {
	level := l.zl.GetLevel()
	switch level {
	case zerolog.ErrorLevel, zerolog.PanicLevel, zerolog.FatalLevel:
		return kgo.LogLevelError
	case zerolog.WarnLevel:
		return kgo.LogLevelWarn
	case zerolog.InfoLevel:
		return kgo.LogLevelInfo
	case zerolog.TraceLevel, zerolog.DebugLevel:
		return kgo.LogLevelDebug
	case zerolog.NoLevel, zerolog.Disabled:
		return kgo.LogLevelNone
	default:
		return kgo.LogLevelNone
	}
}