Documentation ¶
Index ¶
- Constants
- func Close()
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func LoadConfiguration(filename string) error
- func Logger(l level) *log.Logger
- func Mark(format string, v ...interface{})
- func Trace(format string, v ...interface{})
- func Warn(format string, v ...interface{})
- type Log4go
- func (this *Log4go) Close()
- func (this *Log4go) Debug(format string, v ...interface{})
- func (this *Log4go) Error(format string, v ...interface{})
- func (this *Log4go) Info(format string, v ...interface{})
- func (this *Log4go) LoadConfiguration(filename string) error
- func (this *Log4go) Logger(lvl level) *log.Logger
- func (this *Log4go) Mark(format string, v ...interface{})
- func (this *Log4go) Trace(format string, v ...interface{})
- func (this *Log4go) Warn(format string, v ...interface{})
Constants ¶
View Source
const ( DEBUG level = iota TRACE INFO WARN ERROR MARK )
Variables ¶
This section is empty.
Functions ¶
func LoadConfiguration ¶
Types ¶
type Log4go ¶
type Log4go struct {
// contains filtered or unexported fields
}
func (*Log4go) LoadConfiguration ¶
加载配置
Source Files ¶
Click to show internal directories.
Click to hide internal directories.