{"id":13484219,"url":"https://github.com/crohr/syslogger","last_synced_at":"2025-04-12T15:40:10.300Z","repository":{"id":830907,"uuid":"548118","full_name":"crohr/syslogger","owner":"crohr","description":"Dead simple Ruby Syslog logger","archived":false,"fork":false,"pushed_at":"2024-08-05T04:19:10.000Z","size":135,"stargazers_count":114,"open_issues_count":2,"forks_count":42,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-03T15:11:23.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/crohr/syslogger","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"moxiao/treemenu","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crohr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-03-05T08:29:29.000Z","updated_at":"2023-12-07T12:21:41.000Z","dependencies_parsed_at":"2024-10-22T18:55:46.634Z","dependency_job_id":null,"html_url":"https://github.com/crohr/syslogger","commit_stats":{"total_commits":177,"total_committers":29,"mean_commits":6.103448275862069,"dds":0.6779661016949152,"last_synced_commit":"99d8e318cb843140488cb4e464ce5a766509c5ed"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crohr%2Fsyslogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crohr%2Fsyslogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crohr%2Fsyslogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crohr%2Fsyslogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crohr","download_url":"https://codeload.github.com/crohr/syslogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590728,"owners_count":21129881,"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-07-31T17:01:20.833Z","updated_at":"2025-04-12T15:40:10.279Z","avatar_url":"https://github.com/crohr.png","language":"Ruby","readme":"## Syslogger\n\n[![GitHub license](https://img.shields.io/github/license/crohr/syslogger.svg)](https://github.com/crohr/syslogger/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/crohr/syslogger.svg)](https://github.com/crohr/syslogger/releases/latest)\n[![Gem](https://img.shields.io/gem/v/syslogger.svg)](https://rubygems.org/gems/syslogger)\n[![Gem](https://img.shields.io/gem/dtv/syslogger.svg)](https://rubygems.org/gems/syslogger)\n[![CI](https://github.com/crohr/syslogger/workflows/CI/badge.svg)](https://github.com/crohr/syslogger/actions)\n\nA drop-in replacement for the standard Logger Ruby library, that logs to the syslog instead of a log file.\nContrary to the SyslogLogger library, you can specify the facility and the syslog options.\n\n## Installation\n\n```sh\n$ gem install syslogger\n```\n\n## Usage\n\n```ruby\nrequire 'syslogger'\n\n# Will send all messages to the local0 facility, adding the process id in the message\nlogger = Syslogger.new(\"app_name\", Syslog::LOG_PID, Syslog::LOG_LOCAL0)\n\n# Optionally split messages to the specified number of bytes\nlogger.max_octets = 480\n\n# Send messages that are at least of the Logger::INFO level\nlogger.level = Logger::INFO # use Logger levels\n\nlogger.debug \"will not appear\"\nlogger.info \"will appear\"\nlogger.warn \"will appear\"\n```\n\n## Contributions\n\nSee \u003chttps://github.com/crohr/syslogger/contributors\u003e.\n\n## Copyright\n\nCopyright (c) 2010 Cyril Rohr, INRIA Rennes-Bretagne Atlantique. See LICENSE for details.\n","funding_links":[],"categories":["Logging"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrohr%2Fsyslogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrohr%2Fsyslogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrohr%2Fsyslogger/lists"}