Documentation ¶
Index ¶
- Variables
- func BasicConfig(config LogConfig)
- func Debug(format string, args ...interface{})
- func Error(format string, args ...interface{})
- func Exception(err error)
- func Fatal(format string, args ...interface{})
- func Info(format string, args ...interface{})
- func Panic(err error)
- func Warning(format string, args ...interface{})
- type LogConfig
- type LogLevel
- type Logger
- func (logger *Logger) Debug(format string, args ...interface{})
- func (logger *Logger) Error(format string, args ...interface{})
- func (logger *Logger) Exception(err error)
- func (logger *Logger) Info(format string, args ...interface{})
- func (logger *Logger) Panic(err error)
- func (logger *Logger) SetLevel(logLevel LogLevel)
- func (logger *Logger) SetMaxErrorStacks(num int)
- func (logger *Logger) Warning(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var MAX_ERROR_STACKS = 20
Functions ¶
func BasicConfig ¶
func BasicConfig(config LogConfig)
Types ¶
type Logger ¶
func (*Logger) SetMaxErrorStacks ¶
Click to show internal directories.
Click to hide internal directories.