{"id":17330621,"url":"https://github.com/adam12/roda-enhanced_logger","last_synced_at":"2025-10-05T07:59:32.008Z","repository":{"id":56691165,"uuid":"204595274","full_name":"adam12/roda-enhanced_logger","owner":"adam12","description":"The Roda logger you've been waiting for","archived":false,"fork":false,"pushed_at":"2025-05-14T19:28:46.000Z","size":82,"stargazers_count":24,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T09:02:06.578Z","etag":null,"topics":["roda"],"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/adam12.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-27T01:40:53.000Z","updated_at":"2025-09-10T11:49:09.000Z","dependencies_parsed_at":"2023-12-12T18:20:26.895Z","dependency_job_id":"7e3d1731-3488-46b3-aea4-d08125c05240","html_url":"https://github.com/adam12/roda-enhanced_logger","commit_stats":{"total_commits":57,"total_committers":1,"mean_commits":57.0,"dds":0.0,"last_synced_commit":"ad1a91f68c2ed7e0be5162b4e08568d11e84a3c4"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/adam12/roda-enhanced_logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-enhanced_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-enhanced_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-enhanced_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-enhanced_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adam12","download_url":"https://codeload.github.com/adam12/roda-enhanced_logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-enhanced_logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278425490,"owners_count":25984687,"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-10-05T02:00:06.059Z","response_time":54,"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":["roda"],"created_at":"2024-10-15T14:51:51.279Z","updated_at":"2025-10-05T07:59:31.969Z","avatar_url":"https://github.com/adam12.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Roda Enhanced Logger\n\nA powerful logger for Roda with a few tricks up it's sleeve.\n\n- Coloured output per level\n- Structured output of query params\n- Tracking of database query time and count\n- Tracking of blocks which handle path segment\n- Tracing missed requests\n- Tracing all requests\n\n![Enhanced Logger Output](roda-enhanced_logger.png)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem \"roda-enhanced_logger\"\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install roda-enhanced_logger\n\n## Usage\n\nFor basic usage, simply enable through the `plugin` mechanism.\n\n\n```ruby\nclass App \u003c Roda\n  plugin :enhanced_logger\nend\n```\n\nIf you serve assets through Roda, your logs might be fairly noisy, so you can\nfilter them.\n\n```ruby\nplugin :enhanced_logger, filter: -\u003e(path) { path.start_with?(\"/assets\") }\n```\n\nBy default, EnhancedLogger will attempt to filter passwords and CSRF tokens,\nbut you can filter other fields too.\n\n```ruby\nplugin :enhanced_logger, filtered_params: %w[api_key]\n```\n\nIf there's a `DB` constant defined for Sequel, EnhancedLogger will automatically\nuse it, but you can pass in a custom value if necessary.\n\n```ruby\nplugin :enhanced_logger, db: Container[:db]\n```\n\nDuring development, a 404 might catch you off guard for a path that you feel should\nexist, so it's handy to trace missed routes to aide in debugging.\n\n```ruby\nplugin :enhanced_logger, trace_missed: true\n```\n\nOr always trace every request.\n\n```ruby\nplugin :enhanced_logger, trace_all: true\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/adam12/roda-enhanced_logger.\n\nI love pull requests! If you fork this project and modify it, please ping me to see\nif your changes can be incorporated back into this project.\n\nThat said, if your feature idea is nontrivial, you should probably open an issue to\n[discuss it](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/)\nbefore attempting a pull request.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam12%2Froda-enhanced_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadam12%2Froda-enhanced_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam12%2Froda-enhanced_logger/lists"}