Documentation
¶
Index ¶
- Constants
- func Close()
- func Critical(skip int, format string, v ...interface{})
- func Debug(format string, v ...interface{})
- func Error(skip int, format string, v ...interface{})
- func Fatal(skip int, format string, v ...interface{})
- func Info(format string, v ...interface{})
- func NewGitLogger(logPath string)
- func NewLogger(bufLen int64, mode, config string)
- func Register(name string, log loggerType)
- func Trace(format string, v ...interface{})
- func Warn(format string, v ...interface{})
- type Brush
- type ConnWriter
- type ConsoleWriter
- type DatabaseWriter
- type FileLogWriter
- type Log
- type LogLevel
- type Logger
- func (l *Logger) Close()
- func (l *Logger) Critical(skip int, format string, v ...interface{})
- func (l *Logger) Debug(format string, v ...interface{})
- func (l *Logger) DelLogger(adapter string) error
- func (l *Logger) Error(skip int, format string, v ...interface{})
- func (l *Logger) Fatal(skip int, format string, v ...interface{})
- func (l *Logger) Flush()
- func (l *Logger) Info(format string, v ...interface{})
- func (l *Logger) SetLogger(adapter string, config string) error
- func (l *Logger) StartLogger()
- func (l *Logger) Trace(format string, v ...interface{})
- func (l *Logger) Warn(format string, v ...interface{})
- type LoggerInterface
- type MuxWriter
- type SmtpWriter
Constants ¶
View Source
const ( TRACE = iota DEBUG INFO WARN ERROR CRITICAL FATAL )
Variables ¶
This section is empty.