Documentation ¶
Index ¶
- Variables
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func Init(conf *LogConf)
- func Notice(format string, v ...interface{})
- func Warn(format string, v ...interface{})
- type LogConf
- type Logger
- func (l *Logger) Apply(lc *LogConf) *Logger
- func (l *Logger) Debug(format string, v ...interface{})
- func (l *Logger) Error(format string, v ...interface{})
- func (l *Logger) Info(format string, v ...interface{})
- func (l *Logger) Notice(format string, v ...interface{})
- func (l *Logger) Warn(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogWayConsole = logs.AdapterConsole LogWayFile = logs.AdapterFile )
Functions ¶
Types ¶
type LogConf ¶
type LogConf struct {
// contains filtered or unexported fields
}
//////////////////////////////////////////////////////////////////////////
func DefaultLogConf ¶
func DefaultLogConf() *LogConf
func (*LogConf) SetLogFile ¶
func (*LogConf) SetLogLevel ¶
Click to show internal directories.
Click to hide internal directories.