Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
HandleError prints the error to the standard error, prints the usage if the `printUsage` flag is true, exports the error to the error file and exits the process with the exit code.
Types ¶
type Logger ¶
Logger embeds logr.Logger
func (*Logger) DeleteErrorFile ¶
func (l *Logger) DeleteErrorFile()
DeleteErrorFile deletes the error file.
func (*Logger) ExportError ¶
ExportError exports the error to the error file if --export-error is enabled.
Click to show internal directories.
Click to hide internal directories.