{"id":16086144,"url":"https://github.com/zw963/rails_better_logger","last_synced_at":"2025-04-05T14:11:56.909Z","repository":{"id":56890460,"uuid":"42819273","full_name":"zw963/rails_better_logger","owner":"zw963","description":"It's just canonical rails logger, you don't miss anything, just better!","archived":false,"fork":false,"pushed_at":"2015-10-17T09:30:14.000Z","size":240,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T00:26:19.454Z","etag":null,"topics":[],"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/zw963.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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-09-20T16:03:47.000Z","updated_at":"2015-09-21T12:38:33.000Z","dependencies_parsed_at":"2022-08-21T00:50:23.668Z","dependency_job_id":null,"html_url":"https://github.com/zw963/rails_better_logger","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Frails_better_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Frails_better_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Frails_better_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Frails_better_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zw963","download_url":"https://codeload.github.com/zw963/rails_better_logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345856,"owners_count":20924102,"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-10-09T13:10:41.339Z","updated_at":"2025-04-05T14:11:56.888Z","avatar_url":"https://github.com/zw963.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RailsBetterLogger [![Build Status](https://travis-ci.org/zw963/rails_better_logger.svg?branch=master)](https://travis-ci.org/zw963/rails_better_logger) [![Gem Version](https://badge.fury.io/rb/rails_better_logger.svg)](http://badge.fury.io/rb/rails_better_logger)\n\nIt just canonical rails logger, you don't miss anything, just better!\n\n## Getting Started\n\nInstall via Rubygems\n\n    $ gem install rails_better_logger\n\nAnd then you could make this gem applied to all your's rails project\nwith just settings one environment variable in you $HOME startup script.\n\ne.g. any of .bashrc/.profile/.bash_profie, setting this:\n\n```sh\nexport $RUBYOPT=-rrails_better_logger\n```\n\nOr ...\n\nAdd to your project Gemfile\n\n    group :development do\n      gem 'rails_better_logger'\n    end\n    \n## SnapShot\n\n1. Highlight any request and controller action, with params.\n\n![File](images/rails_better_logger1.png)\n\n2. Highlight `UPDATE/INSERT/DELETE` SQL query.\n\n![File](images/rails_better_logger2.png)\n\n3. SQL query positional parameter always be print to a new line.\n   (make query and data seperate, more clearly)\n   \n![File](images/rails_better_logger3.png)\n\n4. Highlight slow rendered views. (great than 99 ms)\n   \n![File](images/rails_better_logger4.png)\n\n## Support\n\n  * Rails 4+, issues welcome.\n\n## Advise\n  * Any advise is welcome, just make this gem better.\n\n## TODO\n\n  * Background highlight for any Exception.\n  * Make color can be configure.\n## Contributing\n\n  * [Bug reports](https://github.com/zw963/rails_better_logger/issues)\n  * [Source](https://github.com/zw963/rails_better_logger)\n  * Patches:\n    * Fork on Github.\n    * Run `gem install --dev rails_better_logger` or `bundle`.\n    * Create your feature branch: `git checkout -b my-new-feature`.\n    * Commit your changes: `git commit -am 'Add some feature'`.\n    * Push to the branch: `git push origin my-new-feature`.\n    * Send a pull request :D.\n\n## license\n\nReleased under the MIT license, See [LICENSE](https://github.com/zw963/rails_better_logger/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Frails_better_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzw963%2Frails_better_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Frails_better_logger/lists"}