Documentation ¶
Index ¶
- func DisableLogColor()
- func DisablePrettyLog()
- func EnableLogColor()
- func FitText(text string, options FitTextOptions) string
- 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 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 MuteErr()
- func MuteOut()
- func OptionalLnModeOn()
- func RawStreamsOutputModeOn()
- func SetTag(value string, colorizeFunc func(...interface{}) string)
- func TerminalWidth() int
- func UnmuteErr()
- func UnmuteOut()
- func WithFittedStreamsOutputOn(f func() error) error
- func WithIndent(f func() error) error
- func WithRawStreamsOutputModeOn(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 DisableLogColor ¶
func DisableLogColor()
func DisablePrettyLog ¶
func DisablePrettyLog()
func EnableLogColor ¶
func EnableLogColor()
func FitText ¶
func FitText(text string, options FitTextOptions) string
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 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 OptionalLnModeOn ¶
func OptionalLnModeOn()
func RawStreamsOutputModeOn ¶
func RawStreamsOutputModeOn()
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.