Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultLogS ¶
type LogWashFunc ¶
type LogrusRedisHook ¶
type LogrusRedisHook struct {
// contains filtered or unexported fields
}
func NewHook ¶
func NewHook(appName string, option *RedisOption, logWashFunc LogWashFunc) (*LogrusRedisHook, error)
func (*LogrusRedisHook) Levels ¶
func (h *LogrusRedisHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.