Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SNSHook ¶
type SNSHook struct { // Messages with a log level not contained in this array // will not be dispatched. If nil, all messages will be dispatched. AcceptedLevels []logrus.Level Session *sns.SNS TopicArn *string Subject *string Extra map[string]interface{} }
SNSHook is a logrus Hook for dispatching messages to the specified topics on AWS SNS
func NewSNSHook ¶
func NewSNSHookWithSession ¶
Click to show internal directories.
Click to hide internal directories.