Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultLogLevel = log.InfoLevel CustomLogLevelSet = false )
Functions ¶
func AddSecretsCleanupLogHook ¶
func AddSecretsCleanupLogHook()
func LogRuntimePlatform ¶ added in v1.1.3
func SetupCPUProfile ¶
func SetupLogLevelOptions ¶
func WarnOnBool ¶
func WarnOnBool(args []string)
WarnOnBool logs warning if args contains true or false github.com/urfave/cli breaks badly if boolean are set using --flag true instead of --flag=true or just --flag this is a simple check that warn the user about this if detects "true" or "false" alone in the arguments
Types ¶
type SecretsCleanupHook ¶
type SecretsCleanupHook struct{}
func (*SecretsCleanupHook) Levels ¶
func (s *SecretsCleanupHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.