Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LibraryRepository string
LibraryRepository that is passed into with -ldflags
Functions ¶
func DeferExitHandler ¶ added in v1.9.0
func DeferExitHandler(handler func())
DeferExitHandler registers a logrus exit handler to allow cleanup activities.
func RegisterHook ¶ added in v1.25.0
RegisterHook registers a logrus hook
func RegisterSecret ¶ added in v1.23.0
func RegisterSecret(secret string)
func SetVerbose ¶
func SetVerbose(verbose bool)
SetVerbose sets the log level with respect to verbose flag.
Types ¶
type FatalHook ¶ added in v1.25.0
FatalHook provides a logrus hook which persists details about a fatal error into the file system. This is helpful in order to transfer the error details to an orchestrating CI/CD system and by that make it possible to provide better error messages to the user.
type RemoveSecretFormatterDecorator ¶ added in v1.23.0
type RemoveSecretFormatterDecorator struct {
logrus.TextFormatter
}
Click to show internal directories.
Click to hide internal directories.