{"id":15562203,"url":"https://github.com/deanpcmad/logsnag","last_synced_at":"2025-09-03T02:40:50.105Z","repository":{"id":45981849,"uuid":"481657777","full_name":"deanpcmad/logsnag","owner":"deanpcmad","description":"Ruby Library for sending LogSnag events","archived":false,"fork":false,"pushed_at":"2023-01-01T20:41:07.000Z","size":9,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-28T02:02:27.400Z","etag":null,"topics":["logsnag","ruby","rubygem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/deanpcmad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-14T15:35:28.000Z","updated_at":"2025-02-16T18:49:33.000Z","dependencies_parsed_at":"2023-02-01T00:45:47.906Z","dependency_job_id":null,"html_url":"https://github.com/deanpcmad/logsnag","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/deanpcmad/logsnag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpcmad%2Flogsnag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpcmad%2Flogsnag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpcmad%2Flogsnag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpcmad%2Flogsnag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deanpcmad","download_url":"https://codeload.github.com/deanpcmad/logsnag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpcmad%2Flogsnag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273381912,"owners_count":25095327,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["logsnag","ruby","rubygem"],"created_at":"2024-10-02T16:12:19.023Z","updated_at":"2025-09-03T02:40:50.030Z","avatar_url":"https://github.com/deanpcmad.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LogSnag\n\nRuby Library for sending LogSnag events.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"logsnag\"\n```\n\n## Usage\n\n### Set Token\n\nFirstly you'll need to set an API Token.\n\n```ruby\n@logsnag = LogSnag::Client.new(token: \"\")\n```\n\n### Sending an Event\n\n```ruby\n@logsnag.log(project: \"my-project\", channel: \"channel\", event: \"my-event\")\n```\n\n### Sending an Insight\n\n```ruby\n@logsnag.insight(project: \"my-project\", title: \"Title of Insight\", value: \"the-value\")\n```\n\nAvailable Options:\n\n- description\n- icon - Single emoji for the event icon\n- notify - if this event should send a notification\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/deanpcmad/logsnag.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanpcmad%2Flogsnag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeanpcmad%2Flogsnag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanpcmad%2Flogsnag/lists"}