Documentation
¶
Index ¶
- Variables
- func Debug(message string)
- func Debugf(message string, args ...interface{})
- func Error(message string)
- func Errorf(message string, args ...interface{})
- func Info(message string)
- func Infof(message string, args ...interface{})
- func Startup(logOutput *os.File, logPrefix string, logDebug bool) error
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var LogDebug bool
LogDebug determines whether debug logs should be output or not.
View Source
var LogOutput *os.File
LogOutput is the file logs are written to.
Functions ¶
func Debugf ¶
func Debugf(message string, args ...interface{})
Debugf writes a debug log with arguments.
func Errorf ¶
func Errorf(message string, args ...interface{})
Errorf writes an error log with arguments.
Types ¶
Click to show internal directories.
Click to hide internal directories.