Caution : Github don't like to use github issue as a log hook. If you send issues oftenly, your github account can be block. Use this hook carefully.:D
Package logrus-octokit-hook provides a Github hook using the octokit for the logrus loggin package.
NewOctokitHook(gitHubAPIURL string,
userAgent string,
accessToken string,
owner string,
repo string))
logrus.AddHook(octokit.NewOctokitHook("https://api.github.com"
"Goyangi(using Octokit Go) 1.0",
"012323abcdabcdgithubtoken",
"dorajistyle",
"goyangi"))
---
logrus-octokit-hook is under the MIT license