Documentation
¶
Index ¶
- func Debugln(a ...interface{})
- func Errorln(a ...interface{})
- func HasCommands(commands []Command) bool
- func Infoln(a ...interface{})
- func IsDebug() bool
- func MustGetName() string
- func NewCommand(logPrefix string, command string, args ...string) *wrapExec
- func PrintErrorln(a ...interface{}) (n int, err error)
- func Println(a ...interface{}) (n int, err error)
- type Command
- type SyncLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasCommands ¶
func MustGetName ¶
func MustGetName() string
func NewCommand ¶
func PrintErrorln ¶
Types ¶
type SyncLogger ¶
type SyncLogger struct {
// contains filtered or unexported fields
}
func NewSyncLogger ¶
func NewSyncLogger(prefix string, isStdErr bool) *SyncLogger
func (*SyncLogger) Close ¶
func (sl *SyncLogger) Close() error
func (*SyncLogger) Flush ¶
func (sl *SyncLogger) Flush() error
Click to show internal directories.
Click to hide internal directories.