Documentation ¶
Index ¶
- type Log
- func (l *Log) Debug(s string, args ...interface{})
- func (l *Log) Debugf(format string, args ...interface{})
- func (l *Log) Error(s string, args ...interface{})
- func (l *Log) Errorf(format string, args ...interface{})
- func (l *Log) Fatal(s string, args ...interface{})
- func (l *Log) Fatalf(format string, args ...interface{})
- func (l *Log) Info(s string, args ...interface{})
- func (l *Log) Infof(format string, args ...interface{})
- func (l *Log) Panic(s string, args ...interface{})
- func (l *Log) Panicf(format string, args ...interface{})
- func (l *Log) Warn(s string, args ...interface{})
- func (l *Log) Warnf(format string, args ...interface{})
- type RedisWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisWriter ¶
type RedisWriter struct {
// contains filtered or unexported fields
}
为 logger 提供写入 redis 队列的 io 接口
func NewRedisWriter ¶
func NewRedisWriter(key string, cli *redis.Client) *RedisWriter
Click to show internal directories.
Click to hide internal directories.