Skip to content
tgPublic

About

Slack handler for log15

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

slack15 – from log15 to Slack GoDoc

Say hello to Slack handler for log15 and send log messages in Go directly to Slack via incoming webhook.

You will need at least webhook URL to make it working.

Quick start

Pass webhook URL to slack15.Handler or set it up in SLACK_WEBHOOK_URL environmental variable.

log := log15.New()
log.SetHandler(&slack15.Handler{
	URL: "", // pass it here, or not
})
log.Info("Whaam!", "who", "Roy Lichtenstein", "when", 1963)

screenshot

About

Slack handler for log15

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages