{"id":17826424,"url":"https://github.com/jun0kada/log_marker","last_synced_at":"2026-05-19T07:34:47.733Z","repository":{"id":56881915,"uuid":"173534960","full_name":"Jun0kada/log_marker","owner":"Jun0kada","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-05T09:02:51.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T12:16:20.400Z","etag":null,"topics":["debug","rails","ruby"],"latest_commit_sha":null,"homepage":null,"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/Jun0kada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-03T05:30:59.000Z","updated_at":"2019-03-12T03:17:51.000Z","dependencies_parsed_at":"2022-08-20T13:00:47.301Z","dependency_job_id":null,"html_url":"https://github.com/Jun0kada/log_marker","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/Jun0kada%2Flog_marker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jun0kada%2Flog_marker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jun0kada%2Flog_marker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jun0kada%2Flog_marker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jun0kada","download_url":"https://codeload.github.com/Jun0kada/log_marker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246811310,"owners_count":20837752,"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":["debug","rails","ruby"],"created_at":"2024-10-27T18:47:44.729Z","updated_at":"2026-05-19T07:34:47.692Z","avatar_url":"https://github.com/Jun0kada.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LogMarker\n\n[![Build Status](https://travis-ci.org/Jun0kada/log_marker.svg?branch=master)](https://travis-ci.org/Jun0kada/log_marker)\n\ndebug logging with marker\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'log_marker'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install log_marker\n\n## Usage\n\nlog_marker methods\n`ml`, `p!`, `pp!`, `puts!`\n\n```ruby\nml 'Hello my debug log'\n# =\u003e ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n#\n#\n#\n#\n#\n# \"Hello my debug log\"\n#\n#\n#\n#\n#\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n\np! 'Hello my debug log'\n# =\u003e ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n#\n#\n#\n#\n#\n# \"Hello my debug log\"\n#\n#\n#\n#\n#\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n\nputs! 'Hello my debug log'\n# =\u003e ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n#\n#\n#\n#\n#\n# Hello my debug log\n#\n#\n#\n#\n#\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n\npp! ['Hello my debug log'] * 5\n# =\u003e ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n#\n#\n#\n#\n#\n# [\"Hello my debug log\",\n#  \"Hello my debug log\",\n#  \"Hello my debug log\",\n#  \"Hello my debug log\",\n#  \"Hello my debug log\"]\n#\n#\n#\n#\n#\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n# ======================================================================================================================================================\n```\n\n## Config\n\n```ruby\n# config/initializers/log_marker.rb\n\nLogMarker.config do |config|\n  config.ml_alias = :p!\n  config.marker   = -\u003e { (['=' * 150] * 5).join(\"\\n\") }\nend\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/log_marker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the LogMarker project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/log_marker/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjun0kada%2Flog_marker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjun0kada%2Flog_marker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjun0kada%2Flog_marker/lists"}