Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogrusRedis ¶
LogrusRedis delivers logs to a Redis List
func NewLogrusRedis ¶
func NewLogrusRedis(client *redis.Client, key string) *LogrusRedis
NewLogrusRedis creates LogrusRedis instance
func (*LogrusRedis) Fire ¶
func (r *LogrusRedis) Fire(entry *logrus.Entry) error
Fire adds logrus entry into redis list
func (*LogrusRedis) Levels ¶
func (r *LogrusRedis) Levels() []logrus.Level
Levels returns the available logging levels.
Click to show internal directories.
Click to hide internal directories.