Documentation ¶
Index ¶
- func Debug(format string, args ...interface{})
- func Error(format string, args ...interface{})
- func Flush()
- func Info(format string, args ...interface{})
- func IsDebugEnabled() bool
- func IsInfoEnabled() bool
- func IsWarnEnabled() bool
- func Regist(log Log)
- func RegistLog(i uint8, l Log) error
- func RemoveLogI(i uint8)
- func SetLogLevel(level string)
- func Warn(format string, args ...interface{})
- type GoLog
- func (this *GoLog) Debug(format string, args ...interface{})
- func (this *GoLog) Error(format string, args ...interface{})
- func (this *GoLog) Flush()
- func (this *GoLog) Info(format string, args ...interface{})
- func (this *GoLog) IsDebugEnabled() bool
- func (this *GoLog) IsInfoEnabled() bool
- func (this *GoLog) IsWarnEnabled() bool
- func (this *GoLog) SetLogLevel(levelStr string)
- func (this *GoLog) Warn(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)
func SetLogLevel ¶
func SetLogLevel(level string)
Types ¶
type GoLog ¶
func (*GoLog) IsDebugEnabled ¶
func (*GoLog) IsInfoEnabled ¶
func (*GoLog) IsWarnEnabled ¶
func (*GoLog) SetLogLevel ¶
type Log ¶
type Log interface { IsDebugEnabled() bool IsInfoEnabled() bool IsWarnEnabled() bool Error(format string, args ...interface{}) Info(format string, args ...interface{}) Debug(format string, args ...interface{}) Warn(format string, args ...interface{}) //when system exit you should use it Flush() SetLogLevel(levelStr string) }
Click to show internal directories.
Click to hide internal directories.