Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeamsWriter ¶
type TeamsWriter struct {
log.LogFilter
log.LogFormatter
log.SubFormatter
Webhook string
Timeout time.Duration
}
TeamsWriter implements log Writer Interface and send log message to teams.
func (*TeamsWriter) SetTimeout ¶
func (tw *TeamsWriter) SetTimeout(timeout string) error
SetTimeout set timeout
func (*TeamsWriter) SetWebhook ¶
func (tw *TeamsWriter) SetWebhook(webhook string) error
SetWebhook set the webhook URL
Click to show internal directories.
Click to hide internal directories.