Documentation
¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Flush()
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func IsDebugEnabled() bool
- func IsInfoEnabled() bool
- func IsWarnEnabled() bool
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func Regist(log Log)
- func RegistLog(i uint8, l Log) error
- func RemoveLogI(i uint8)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type GoLog
- func (this *GoLog) Debug(args ...interface{})
- func (this *GoLog) Debugf(format string, args ...interface{})
- func (this *GoLog) Error(args ...interface{})
- func (this *GoLog) Errorf(format string, args ...interface{})
- func (this *GoLog) Fatal(args ...interface{})
- func (this *GoLog) Fatalf(format string, args ...interface{})
- func (this *GoLog) Flush()
- func (this *GoLog) Info(args ...interface{})
- func (this *GoLog) Infof(format string, args ...interface{})
- func (this *GoLog) IsDebugEnabled() bool
- func (this *GoLog) IsInfoEnabled() bool
- func (this *GoLog) IsWarnEnabled() bool
- func (this *GoLog) Panic(args ...interface{})
- func (this *GoLog) Panicf(format string, args ...interface{})
- func (this *GoLog) Warn(args ...interface{})
- func (this *GoLog) Warnf(format string, args ...interface{})
- type Level
- type Log
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDebugEnabled ¶
func IsDebugEnabled() bool
func IsInfoEnabled ¶
func IsInfoEnabled() bool
func IsWarnEnabled ¶
func IsWarnEnabled() bool
func RemoveLogI ¶
func RemoveLogI(i uint8)
Types ¶
type GoLog ¶
func (*GoLog) IsDebugEnabled ¶
func (*GoLog) IsInfoEnabled ¶
func (*GoLog) IsWarnEnabled ¶
type Log ¶
type Log interface { IsDebugEnabled() bool IsInfoEnabled() bool IsWarnEnabled() bool Debug(v ...interface{}) Debugf(format string, v ...interface{}) Info(v ...interface{}) Infof(format string, v ...interface{}) Warn(v ...interface{}) Warnf(format string, v ...interface{}) Error(v ...interface{}) Errorf(format string, v ...interface{}) Fatal(v ...interface{}) Fatalf(format string, v ...interface{}) Panic(v ...interface{}) Panicf(format string, v ...interface{}) //when system exit you should use it Flush() }
Click to show internal directories.
Click to hide internal directories.