Documentation ¶
Index ¶
- Constants
- Variables
- func Debug(format string, args ...interface{})
- func EnableOutput(enable bool)
- func Error(format string, args ...interface{})
- func Fatal(format string, args ...interface{})
- func Important(format string, args ...interface{})
- func Info(format string, args ...interface{})
- func NullLogger() *log.Logger
- func SetLogFile(path string) error
- func SetOutput(o io.Writer)
- func SetVerbosityLevel(lvl int)
- func Success(format string, args ...interface{})
- func Warning(format string, args ...interface{})
Constants ¶
View Source
const ( DEBUG = iota INFO IMPORTANT WARNING ERROR FATAL SUCCESS )
View Source
const ( MOD_NONE = iota MOD_SUCCESS )
Variables ¶
Functions ¶
func EnableOutput ¶
func EnableOutput(enable bool)
func NullLogger ¶
func SetLogFile ¶
func SetVerbosityLevel ¶
func SetVerbosityLevel(lvl int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.