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: kphuslog.go
    path of file: ./repos/franz-go/plugin/kphuslog
    
    the code of the file until where you have to start completion: // Package kphuslog 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(kphuslog.New(logger)),
//	        // ...other opts
//	)
package kphuslog

import (
	"github.c
    
func logLevelToPhuslog(level kgo.LogLevel) log.Level {
	switch level {
	case kgo.LogLevelError:
		return log.ErrorLevel
	case kgo.LogLevelWarn:
		return log.WarnLevel
	case kgo.LogLevelInfo:
		return log.InfoLevel
	case kgo.LogLevelDebug:
		return log.DebugLevel
	case kgo.LogLevelNone:
		return log.Level(8) // noLevel
	default:
		return log.Level(8) // noLevel
	}
}