Documentation
¶
Overview ¶
Package output provides utilities to print output in commands.
Index ¶
- func Failure(msg string, args ...any) string
- func Info(msg string, args ...any) string
- func Numeric(num int, msg string, args ...any) string
- func PrintError(err error, l *zap.SugaredLogger, prettyPrint bool)
- func Rocket(msg string, args ...any) string
- func Success(msg string, args ...any) string
- func Warn(msg string, args ...any) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintError ¶
func PrintError(err error, l *zap.SugaredLogger, prettyPrint bool)
PrintError formats and prints an error to logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.