Documentation
¶
Index ¶
- func FitText(text string, options FitTextOptions) string
- func FittedOutputOn(f func() error) error
- func FormattedLogF(w io.Writer, format string, a ...interface{}) (int, error)
- func GetErrStream() io.Writer
- func GetOutStream() io.Writer
- func IndentDown()
- func IndentUp()
- func Init()
- func IsTerminal() bool
- func LogErrorF(format string, a ...interface{})
- func LogErrorLn(a ...interface{})
- func LogF(format string, a ...interface{})
- func LogHighlightF(format string, a ...interface{})
- func LogHighlightLn(a ...interface{})
- func LogInfoF(format string, a ...interface{})
- func LogInfoLn(a ...interface{})
- func LogLn(a ...interface{})
- func LogOptionalLn()
- func LogProcess(msg string, options LogProcessOptions, processFunc func() error) error
- func LogProcessInline(msg string, processFunc func() error) error
- func LogSecondaryProcess(msg string, options LogProcessOptions, processFunc func() error) error
- func LogSecondaryProcessInline(msg string, processFunc func() error) error
- func LogServiceF(format string, a ...interface{})
- func LogServiceLn(a ...interface{})
- func LogState(msg, state string)
- func MuteErr()
- func MuteOut()
- func RawOutputOn(f func() error) error
- func SetTag(value string, colorizeFunc func(...interface{}) string)
- func TerminalWidth() int
- func UnmuteErr()
- func UnmuteOut()
- func WithIndent(f func() error) error
- func WithTag(value string, colorizeFunc func(...interface{}) string, f func() error) error
- func WithoutIndent(decoratedFunc func() error) error
- type FitTextOptions
- type LogProcessOptions
- type WriterProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FitText ¶
func FitText(text string, options FitTextOptions) string
func FittedOutputOn ¶
func GetErrStream ¶
func GetOutStream ¶
func IndentDown ¶
func IndentDown()
func IsTerminal ¶
func IsTerminal() bool
func LogErrorLn ¶
func LogErrorLn(a ...interface{})
func LogHighlightF ¶
func LogHighlightF(format string, a ...interface{})
func LogHighlightLn ¶
func LogHighlightLn(a ...interface{})
func LogOptionalLn ¶
func LogOptionalLn()
func LogProcess ¶
func LogProcess(msg string, options LogProcessOptions, processFunc func() error) error
func LogProcessInline ¶
func LogSecondaryProcess ¶
func LogSecondaryProcess(msg string, options LogProcessOptions, processFunc func() error) error
func LogServiceF ¶
func LogServiceF(format string, a ...interface{})
func LogServiceLn ¶
func LogServiceLn(a ...interface{})
func RawOutputOn ¶
func TerminalWidth ¶
func TerminalWidth() int
func WithIndent ¶
func WithoutIndent ¶
Types ¶
type FitTextOptions ¶
type LogProcessOptions ¶
type WriterProxy ¶
Click to show internal directories.
Click to hide internal directories.