Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultLogS ¶
type LogWashFunc ¶
type LogWashFunc func(appName string, t time.Time, metadata logrus.Fields, caller *runtime.Frame, level logrus.Level, message string) []byte
LogWashFunc log struct to bytes
type RedisHook ¶
type RedisHook struct {
// contains filtered or unexported fields
}
func NewRedisHook ¶
func NewRedisHook(appName string, option *RedisOption, logWashFunc LogWashFunc) (*RedisHook, error)
Click to show internal directories.
Click to hide internal directories.