k3s/pkg/kubectl/util
Sylvain Rabot 7e7b01fa31 Log real file's name and line
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>
2018-08-11 14:57:45 +02:00
..
hash Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
i18n Adds initial Korean translations for kubectl 2018-05-12 11:16:49 +09:00
logs Log real file's name and line 2018-08-11 14:57:45 +02:00
slice Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
term Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD switch kubectl portfoward to external types 2018-08-02 08:10:03 -04:00
service_port.go switch kubectl portfoward to external types 2018-08-02 08:10:03 -04:00
service_port_test.go switch kubectl portfoward to external types 2018-08-02 08:10:03 -04:00
umask.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
umask_windows.go
util.go compute configmap/secret key correctly cross-platform 2018-05-04 12:00:50 -04:00
util_test.go use subtest for table units (pkg/kubectl) 2018-05-27 10:04:55 +08:00