Documentation
¶
Overview ¶
Package logs provides a simple logging abstraction geared towards command line tool logging
Index ¶
- func Debugf(format string, args ...interface{})
- func Error(msg string, err error)
- func Errorf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Init(dbg bool)
- func IsDebug() bool
- func Panic(msg string, err error)
- func Panicf(format string, args ...interface{})
- func Warn(msg string)
- func Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a formatted debugging message if debug logs are configured
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs a formatted informational message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.