Documentation ¶
Overview ¶
Package console provides a mechanism for sending localized, stylized output to the console.
Index ¶
- Variables
- func Err(format string, a ...interface{}) error
- func ErrLn(format string, a ...interface{}) error
- func ErrStyle(style, format string, a ...interface{}) error
- func Failure(format string, a ...interface{}) error
- func Fatal(format string, a ...interface{}) error
- func HasStyle(style string) bool
- func Out(format string, a ...interface{}) error
- func OutLn(format string, a ...interface{}) error
- func OutStyle(style, format string, a ...interface{}) error
- func SetErrFile(w fdWriter)
- func SetOutFile(w fdWriter)
- func SetPreferredLanguage(s string) error
- func SetPreferredLanguageTag(l language.Tag)
- func Success(format string, a ...interface{}) error
- func Warning(format string, a ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// OverrideEnv is the environment variable used to override color/emoji usage
OverrideEnv = "MINIKUBE_IN_COLOR"
)
Functions ¶
func SetErrFile ¶
func SetErrFile(w fdWriter)
SetErrFile configures which writer error output goes to.
func SetOutFile ¶
func SetOutFile(w fdWriter)
SetOutFile configures which writer standard output goes to.
func SetPreferredLanguage ¶
SetPreferredLanguage configures which language future messages should use, based on a LANG string.
func SetPreferredLanguageTag ¶
SetPreferredLanguageTag configures which language future messages should use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.