{"id":69192,"library":"johntdyer-slackrus","title":"Slackrus","description":"Package slackrus provides a Slack hook for the logrus logging package, sending log messages to Slack channels.","status":"active","version":"0.0.0-20230315191314-80bc92dee4fc","language":"go","source_language":null,"source_url":"https://github.com/johntdyer/slackrus","tags":["logging","slack","hook","logrus"],"install":[{"cmd":"go get github.com/johntdyer/slackrus","lang":"bash","label":"Install github.com/johntdyer/slackrus"}],"dependencies":[],"imports":[{"symbol":"slackrus","correct":"github.com/johntdyer/slackrus"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/johntdyer/slackrus\"\n\t\"github.com/sirupsen/logrus\"\n)\n\nfunc main() {\n\tlogrus.AddHook(&slackrus.SlackrusHook{\n\t\tHookURL: \"https://hooks.slack.com/services/...\",\n\t\tLevels:  []logrus.Level{logrus.ErrorLevel},\n\t})\n\tlogrus.Error(\"This error will be sent to Slack\")\n}","lang":"go","description":"Configures logrus to send error-level logs to a Slack webhook."},"warnings":[],"env_vars":null,"search_vec":"'channel':18 'hook':7,21 'log':11,14,19 'logrus':10,22 'messag':15 'packag':2,12 'provid':4 'send':13 'slack':6,17,20 'slackrus':1,3","created_at":"2026-06-17T17:58:54.322562+00:00","updated_at":"2026-06-17T17:58:54.322562+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/johntdyer/slackrus","github":"https://github.com/johntdyer/slackrus","docs":"https://pkg.go.dev/github.com/johntdyer/slackrus#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging","messaging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}