Documentation
¶
Index ¶
- func NewFileHook(file io.Writer, level logrus.Level, formatter logrus.Formatter) *fileHook
- func NewFileHookWithNewlineTruncate(file io.Writer, level logrus.Level, formatter logrus.Formatter) *fileHook
- func SetupFileHook(baseDir string) func()
- func SetupOutputHook(logLevel string)
- func StopSpinner(spinner *Spinner, err error) error
- type Spinner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileHook ¶
func SetupFileHook ¶
func SetupFileHook(baseDir string) func()
func SetupOutputHook ¶
func SetupOutputHook(logLevel string)
func StopSpinner ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.