Documentation ¶
Index ¶
- Constants
- Variables
- func Fatal(err error)
- func Info(format string, args ...interface{})
- func Prompt(p string)
- func SetLoggingLevel(l int)
- func Success(format string, args ...interface{})
- func WInfo(w http.ResponseWriter, format string, args ...interface{})
- func WWarn(w http.ResponseWriter, format string, args ...interface{})
- func Warn(format string, args ...interface{})
Constants ¶
View Source
const ( FATAL = 0 // fatal only WARN = 1 // warn + fatal INFO = 2 // all )
Variables ¶
View Source
var ( // IsShellMode determines what to print to. // if false, use logrus. if true, print raw to tty IsShellMode = false )
Functions ¶
func SetLoggingLevel ¶
func SetLoggingLevel(l int)
func WInfo ¶
func WInfo(w http.ResponseWriter, format string, args ...interface{})
func WWarn ¶
func WWarn(w http.ResponseWriter, format string, args ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.