mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-10 18:40:55 -04:00
pkg/kubectl/util/logs & staging/src/k8s.io/apiserver/pkg/util/logs use `glog.info(...)` but this function is not made to be wrapped because the underlying mechanism use a fixed call trace length to determine where the log has been emited. This results is having `logs.go:49` in the logs which is in the body of the wrapper function and thus useless. Instead use `glog.infoDepth(1, ...)` which tells the underlying mechanism to go back 1 more level in the call trace to determine where the log has been emitted. Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr> |
||
|---|---|---|
| .. | ||
| hash | ||
| i18n | ||
| logs | ||
| slice | ||
| term | ||
| BUILD | ||
| service_port.go | ||
| service_port_test.go | ||
| umask.go | ||
| umask_windows.go | ||
| util.go | ||
| util_test.go | ||