Documentation
¶
Overview ¶
Package logging provides a structured logging interface for the CLI.
Index ¶
- Variables
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func ErrorCLI(msg string, args ...any)
- func FatalCLI(msg string, args ...any)
- func Header(s string)
- func HeaderCustom(s string, bgColor, textColor pterm.Color)
- func Info(format string, v ...interface{})
- func InfoCLI(format string, v ...interface{})
- func SetLevel(logLevel string)
- func Warn(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Newline determines whether a newline character is appended to the end of each log message. Newline = true )
Functions ¶
func HeaderCustom ¶
HeaderCustom prints a header to the console with custom colors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.