{"id":19202320,"url":"https://github.com/osamingo/bugsnag-logrus-hook","last_synced_at":"2025-02-23T05:42:34.243Z","repository":{"id":31155106,"uuid":"34715072","full_name":"osamingo/bugsnag-logrus-hook","owner":"osamingo","description":"Logrus Hook for Bugsnag","archived":false,"fork":false,"pushed_at":"2018-10-25T14:35:57.000Z","size":220,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T13:44:22.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osamingo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-28T07:17:52.000Z","updated_at":"2015-04-28T16:13:37.000Z","dependencies_parsed_at":"2022-09-11T16:32:15.045Z","dependency_job_id":null,"html_url":"https://github.com/osamingo/bugsnag-logrus-hook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbugsnag-logrus-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbugsnag-logrus-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbugsnag-logrus-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbugsnag-logrus-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osamingo","download_url":"https://codeload.github.com/osamingo/bugsnag-logrus-hook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240275899,"owners_count":19775614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T12:42:13.083Z","updated_at":"2025-02-23T05:42:34.206Z","avatar_url":"https://github.com/osamingo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logrus Hook for Bugsnag\n\n[![Build Status](https://img.shields.io/travis/osamingo/bugsnag-logrus-hook/master.svg?style=flat)](https://travis-ci.org/osamingo/bugsnag-logrus-hook)\n[![codecov.io](https://img.shields.io/codecov/c/github/osamingo/bugsnag-logrus-hook.svg?style=flat)](https://codecov.io/github/osamingo/bugsnag-logrus-hook?branch=master)\n[![License](http://img.shields.io/badge/license-MIT-orange.svg?style=flat)](https://github.com/osamingo/bugsnag-logrus-hook/blob/master/LICENSE)\n\n## Description\n\nA Hook of [Logrus](https://github.com/Sirupsen/logrus) for [Bugsnag](https://github.com/bugsnag/bugsnag-go)\n\n## Installation\n\n```\n$ go get github.com/osamingo/bugsnag-logrus-hook\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"github.com/Sirupsen/logrus\"\n    \"github.com/osamingo/bugsnag-logrus-hook\"\n)\n\nfunc main() {\n\n    h, err := bugsnagrus.NewBugsnagHook(\n      \"APIKey\",\n      \"develop\",\n      []logrus.Level{logrus.WarnLevel, logrus.ErrorLevel},\n      1,\n    )\n    if err != nil {\n      panic(err)\n    }\n\n    logrus.AddHook(h)\n\n    logrus.Error(\"error is occured\")\n}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamingo%2Fbugsnag-logrus-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosamingo%2Fbugsnag-logrus-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamingo%2Fbugsnag-logrus-hook/lists"}