Documentation ¶
Index ¶
- func Critical(a ...interface{})
- func Criticalf(format string, a ...interface{})
- func Debug(a ...interface{})
- func Debugf(format string, a ...interface{})
- func Default()
- func Error(a ...interface{})
- func Errorf(format string, a ...interface{})
- func Fatal(a ...interface{})
- func Fatalf(format string, a ...interface{})
- func GetDefaultLogConfig() []byte
- func Info(a ...interface{})
- func Infof(format string, a ...interface{})
- func InitByConfigFile(filePath string)
- func InitByConfigJson(configJson string)
- func InitByConfigStruct(conf *LogConfig)
- func Notice(a ...interface{})
- func Noticef(format string, a ...interface{})
- func Warn(a ...interface{})
- func Warnf(format string, a ...interface{})
- type LogConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultLogConfig ¶
func GetDefaultLogConfig() []byte
func InitByConfigFile ¶
func InitByConfigFile(filePath string)
func InitByConfigJson ¶
func InitByConfigJson(configJson string)
func InitByConfigStruct ¶
func InitByConfigStruct(conf *LogConfig)
Types ¶
Click to show internal directories.
Click to hide internal directories.