Documentation ¶
Index ¶
- func FitTextWithIndent(text string, extraIndentWidth int) string
- func FitTextWithIndentWithWidthMaxLimit(text string, extraIndentWidth int, maxWidth int) string
- func FormattedLogF(w io.Writer, format string, args ...interface{}) (int, error)
- func GetErrStream() io.Writer
- func GetOutStream() io.Writer
- func IndentDown()
- func IndentUp()
- func Init()
- func IsTerminal() bool
- func LogErrorF(format string, args ...interface{})
- func LogErrorLn(msg string)
- func LogInfoF(format string, args ...interface{})
- func LogInfoLn(msg string)
- func LogOptionalLn()
- func LogProcess(msg, processMsg string, processFunc func() error) error
- func LogProcessInline(msg string, processFunc func() error) error
- func LogServiceF(format string, args ...interface{})
- func LogServiceLn(msg string)
- func LogServiceProcess(msg, processMsg string, processFunc func() error) error
- func LogServiceProcessInline(msg string, processFunc func() error) error
- func LogServiceState(msg, state string)
- func LogState(msg, state string)
- func MuteErr()
- func MuteOut()
- func ResetTag(value string)
- func SetTag(value string)
- func TerminalWidth() int
- func UnmuteErr()
- func UnmuteOut()
- func WithIndent(f func() error) error
- func WithTag(value string, f func() error) error
- func WithoutIndent(f func() error) error
- type WriterProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FitTextWithIndent ¶
func FormattedLogF ¶
func GetErrStream ¶
func GetOutStream ¶
func IndentDown ¶
func IndentDown()
func IsTerminal ¶
func IsTerminal() bool
func LogErrorLn ¶
func LogErrorLn(msg string)
func LogOptionalLn ¶
func LogOptionalLn()
func LogProcess ¶
func LogProcessInline ¶
func LogServiceF ¶
func LogServiceF(format string, args ...interface{})
func LogServiceLn ¶
func LogServiceLn(msg string)
func LogServiceProcess ¶
func LogServiceProcessInline ¶
func LogServiceState ¶
func LogServiceState(msg, state string)
func TerminalWidth ¶
func TerminalWidth() int
func WithIndent ¶
func WithoutIndent ¶
Types ¶
type WriterProxy ¶
Click to show internal directories.
Click to hide internal directories.