Documentation
¶
Index ¶
- Constants
- type Log
- func (l *Log) Debug(args ...interface{})
- func (l *Log) Error(args ...interface{})
- func (l *Log) Info(args ...interface{})
- func (log *Log) IsDebug() bool
- func (l *Log) Panic(args ...interface{})
- func (l *Log) SetDebug(flag bool)
- func (l *Log) SetLevel(level int)
- func (l *Log) Warning(args ...interface{})
- type LogConfig
Constants ¶
View Source
const ( LEVEL_DEBUG = iota LEVEL_INFO LEVEL_WARNING LEVEL_ERROR LEVEL_PANIC )
日志等级
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.