kubernetes/vendor/google.golang.org/grpc/grpclog/loggerv2.go

type LoggerV2

// SetLoggerV2 sets logger that is used in grpc to a V2 logger.
// Not mutex-protected, should be called before any gRPC functions.
func SetLoggerV2(l LoggerV2) {}

const infoLog

const warningLog

const errorLog

const fatalLog

var severityName

type loggerT

// NewLoggerV2 creates a loggerV2 with the provided writers.
// Fatal logs will be written to errorW, warningW, infoW, followed by exit(1).
// Error logs will be written to errorW, warningW and infoW.
// Warning logs will be written to warningW and infoW.
// Info logs will be written to infoW.
func NewLoggerV2(infoW, warningW, errorW io.Writer) LoggerV2 {}

// NewLoggerV2WithVerbosity creates a loggerV2 with the provided writers and
// verbosity level.
func NewLoggerV2WithVerbosity(infoW, warningW, errorW io.Writer, v int) LoggerV2 {}

type loggerV2Config

func newLoggerV2WithConfig(infoW, warningW, errorW io.Writer, c loggerV2Config) LoggerV2 {}

// newLoggerV2 creates a loggerV2 to be used as default logger.
// All logs are written to stderr.
func newLoggerV2() LoggerV2 {}

func (g *loggerT) output(severity int, s string) {}

func (g *loggerT) Info(args ...any) {}

func (g *loggerT) Infoln(args ...any) {}

func (g *loggerT) Infof(format string, args ...any) {}

func (g *loggerT) Warning(args ...any) {}

func (g *loggerT) Warningln(args ...any) {}

func (g *loggerT) Warningf(format string, args ...any) {}

func (g *loggerT) Error(args ...any) {}

func (g *loggerT) Errorln(args ...any) {}

func (g *loggerT) Errorf(format string, args ...any) {}

func (g *loggerT) Fatal(args ...any) {}

func (g *loggerT) Fatalln(args ...any) {}

func (g *loggerT) Fatalf(format string, args ...any) {}

func (g *loggerT) V(l int) bool {}

type DepthLoggerV2