Documentation
¶
Index ¶
- Constants
- func Debug(format string, a ...interface{})
- func Error(format string, a ...interface{})
- func Info(format string, a ...interface{})
- func Ini(config Config)
- func IsDebug() bool
- func IsError() bool
- func IsInfo() bool
- func IsWarn() bool
- func NameToLevel(name string) int
- func SetPrinter(w io.Writer)
- func Warn(format string, a ...interface{})
- type Config
Constants ¶
View Source
const ( LEVEL_DEBUG = iota LEVEL_INFO LEVEL_WARN LEVEL_ERROR )
Variables ¶
This section is empty.
Functions ¶
func NameToLevel ¶
func SetPrinter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.