package grpclog
import (
)
type componentData struct {
name string
}
var cache = map[string]*componentData{}
func ( *componentData) ( int, ...any) {
= append([]any{"[" + string(.name) + "]"}, ...)
InfoDepth(+1, ...)
}
func ( *componentData) ( int, ...any) {
= append([]any{"[" + string(.name) + "]"}, ...)
WarningDepth(+1, ...)
}
func ( *componentData) ( int, ...any) {
= append([]any{"[" + string(.name) + "]"}, ...)
ErrorDepth(+1, ...)
}
func ( *componentData) ( int, ...any) {
= append([]any{"[" + string(.name) + "]"}, ...)
FatalDepth(+1, ...)
}
func ( *componentData) ( ...any) {
.InfoDepth(1, ...)
}
func ( *componentData) ( ...any) {
.WarningDepth(1, ...)
}
func ( *componentData) ( ...any) {
.ErrorDepth(1, ...)
}
func ( *componentData) ( ...any) {
.FatalDepth(1, ...)
}
func ( *componentData) ( string, ...any) {
.InfoDepth(1, fmt.Sprintf(, ...))
}
func ( *componentData) ( string, ...any) {
.WarningDepth(1, fmt.Sprintf(, ...))
}
func ( *componentData) ( string, ...any) {
.ErrorDepth(1, fmt.Sprintf(, ...))
}
func ( *componentData) ( string, ...any) {
.FatalDepth(1, fmt.Sprintf(, ...))
}
func ( *componentData) ( ...any) {
.InfoDepth(1, ...)
}
func ( *componentData) ( ...any) {
.WarningDepth(1, ...)
}
func ( *componentData) ( ...any) {
.ErrorDepth(1, ...)
}
func ( *componentData) ( ...any) {
.FatalDepth(1, ...)
}
func ( *componentData) ( int) bool {
return V()
}
func ( string) DepthLoggerV2 {
if , := cache[]; {
return
}
:= &componentData{}
cache[] =
return
}