type PrefixLogger … // Infof does info logging. func (pl *PrefixLogger) Infof(format string, args ...any) { … } // Warningf does warning logging. func (pl *PrefixLogger) Warningf(format string, args ...any) { … } // Errorf does error logging. func (pl *PrefixLogger) Errorf(format string, args ...any) { … } // Debugf does info logging at verbose level 2. func (pl *PrefixLogger) Debugf(format string, args ...any) { … } // V reports whether verbosity level l is at least the requested verbose level. func (pl *PrefixLogger) V(l int) bool { … } // NewPrefixLogger creates a prefix logger with the given prefix. func NewPrefixLogger(logger DepthLoggerV2, prefix string) *PrefixLogger { … }