Documentation ¶
Index ¶
- func IsSmartTerminal(w io.Writer) bool
- func IsTerminal(w io.Writer) bool
- type Logger
- func (l *Logger) Commencing(command string)
- func (l *Logger) Error(message string)
- func (l *Logger) Errorf(message string, args ...interface{})
- func (l *Logger) Info(message string)
- func (l *Logger) Infof(message string, args ...interface{})
- func (l *Logger) Print(message string)
- func (l *Logger) Printf(message string, args ...interface{})
- func (l *Logger) Prompt(message string)
- func (l *Logger) Success(message string)
- func (l *Logger) Successf(message string, args ...interface{})
- func (l *Logger) Warn(message string)
- func (l *Logger) Warnf(message string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSmartTerminal ¶ added in v1.3.2
IsSmartTerminal returns true if the writer w is a terminal AND we think that the terminal is smart enough to use VT escape codes etc.
func IsTerminal ¶ added in v1.3.2
IsTerminal returns true if the writer w is a terminal
Types ¶
Click to show internal directories.
Click to hide internal directories.