Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogCallback ¶
LogCallback writes log messages to a zerolog logger.
func NewWebhookCallback ¶
func NewWebhookCallback(cfg *config.LogWebhookConfig) func(*logstream.LogBlock) error
WebhookCallback sends log messages to a webhook.
This callback will debonce the sending action to avoid rate limiting
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.