- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WithCallDepth (0.1 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go
// If it's one function (as in Go 1.21), then skipping four levels // gets us to the function which called the `defer HandleCrashWithontext(...)`. logger := klog.FromContext(ctx).WithCallDepth(4) // For backwards compatibility, conversion to string // is handled here instead of defering to the logging // backend. if _, ok := r.(string); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 9.9K bytes - Viewed (0)