added better logging

This commit is contained in:
ston1th 2022-09-21 20:48:29 +02:00
commit 118cfd91de
86 changed files with 3774 additions and 8455 deletions

19
vendor/k8s.io/klog/v2/klog_file_others.go generated vendored Normal file
View file

@ -0,0 +1,19 @@
//go:build !windows
// +build !windows
package klog
import (
"os/user"
)
func getUserName() string {
userNameOnce.Do(func() {
current, err := user.Current()
if err == nil {
userName = current.Username
}
})
return userName
}