{"id":13612535,"url":"https://github.com/mslinn/jekyll_plugin_logger","last_synced_at":"2026-05-16T11:33:06.421Z","repository":{"id":56826923,"uuid":"470681486","full_name":"mslinn/jekyll_plugin_logger","owner":"mslinn","description":"Colored Jekyll logging for plugins.","archived":false,"fork":false,"pushed_at":"2025-12-04T18:41:23.000Z","size":602,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-12T21:25:52.824Z","etag":null,"topics":["jekyll","jekyll-plugin","logging"],"latest_commit_sha":null,"homepage":"https://www.mslinn.com/jekyll_plugins/jekyll_plugin_logger.html","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/mslinn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-16T17:15:02.000Z","updated_at":"2025-12-04T18:41:26.000Z","dependencies_parsed_at":"2026-04-23T01:00:10.003Z","dependency_job_id":null,"html_url":"https://github.com/mslinn/jekyll_plugin_logger","commit_stats":{"total_commits":105,"total_committers":2,"mean_commits":52.5,"dds":"0.17142857142857137","last_synced_commit":"154eafc7863efe799eeee1aa18e2f5d5b5d8b5f4"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mslinn/jekyll_plugin_logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_plugin_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_plugin_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_plugin_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_plugin_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/jekyll_plugin_logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_plugin_logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jekyll","jekyll-plugin","logging"],"created_at":"2024-08-01T20:00:31.291Z","updated_at":"2026-05-16T11:33:06.384Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","funding_links":[],"categories":["Coding Support for Plugins \u0026amp; Liquid Programming"],"sub_categories":[],"readme":"# `jekyll_plugin_logger` [![Gem Version](https://badge.fury.io/rb/jekyll_plugin_logger.svg)](https://badge.fury.io/rb/jekyll_plugin_logger)\n\n`jekyll_plugin_logger` is a Jekyll plugin, packaged as a Ruby gem, that provides colored console logs for Jekyll plugins.\nIt is based on the standard Ruby [`Logger`](https://ruby-doc.org/stdlib-3.1.0/libdoc/logger/rdoc/Logger.html) class.\n\nLog levels are normally set from `_config.yml`:\n\n* 0: `debug`\n* 1: `info`\n* 2: `warn`\n* 3: `error`\n* 4: `fatal`\n* 5: `unknown` (displays as `ANY`)\n\n\n## Usage\n\nThe [`demo/_plugins/`](demo/_plugins/) directory demonstrates two ways of working with `jekyll_plugin_logger`:\n\n* `liquid_tag.rb`, a Jekyll plugin subclassed from\n  [`Liquid::Tag`](https://jekyllrb.com/docs/plugins/tags/).\n* `support_tag.rb`, a Jekyll plugin subclassed from\n  [`JekyllSupport::JekyllTag`](https://www.mslinn.com/jekyll_plugins/jekyll_plugin_support.html).\n\n\n## Installation\n\n### To A Jekyll Website\n\nAdd the following to your Jekyll website's `Gemfile`:\n\n```ruby\ngroup :jekyll_plugins do\n  gem 'jekyll_plugin_logger'\nend\n```\n\nInstall all of the dependent gems of your Jekyll website by typing:\n\n```shell\n$ bundle\n```\n\n### To A Jekyll Plugin Packaged As A Gem\n\nAdd the following to your Gem\u0026rsquo;s `.gemspec`:\n\n```ruby\nGem::Specification.new do |spec|\n  spec.add_dependency 'jekyll_plugin_logger'\nend\n```\n\nInstall all of the dependent gems of your Gem by typing:\n\n```shell\n$ bundle\n```\n\n\n## Configuration\n\nThe default log level is `info`.\nYou can change the log level by editing `_config.yml` and adding a `plugin_loggers` section.\nWithin that section, add an entry for the fully qualified name of your plugin class.\n\nFor example, the fully qualified class names of the Jekyll plugins provided in `demo/_plugins/`\nare `Raw::InlineTag` and `Support::InlineTag`, respectively.\nTheir log levels can be set to `debug` with the following entries in [`_config.yml`](demo/_config.yml):\n\n```yaml\nplugin_loggers:\n  Raw::InlineTag: debug     # Notice the module name is specified as well as the class name\n  Support::InlineTag: debug # Notice the module name is specified as well as the class name\n```\n\n\n## Run the Demo\n\nRun the demo by typing:\n\n```shell\n$ demo/_bin/debug -r\n```\n\nSee what happens to the output when you edit the logging levels in the `plugin_loggers` section of `_config.yml`.\nYou will have to restart the demo after each modification to `_config.yml`\nin order to see the output change.\n\n\n## Additional Information\n\nMore information is available on Mike Slinn's web site about\n[Jekyll plugins](https://www.mslinn.com/jekyll/10100-custom-logging-in-jekyll-plugins.html).\n\n\n## Development\n\nAfter checking out the `jekyll_plugin_logger` repository,\nrun `bin/setup` to install dependencies,\nwhich includes development dependencies.\n\nYou can then run `bin/console` for an interactive prompt that will allow you to experiment.\n\n\n### Build and Install Locally\n\nTo build and install this gem onto your local machine, run:\n\n```shell\n$ bundle exec rake install\njekyll_plugin_logger 1.0.0 built to pkg/jekyll_plugin_logger-0.1.0.gem.\njekyll_plugin_logger (1.0.0) installed.\n```\n\nExamine the newly built gem:\n\n```shell\n$ gem info jekyll_plugin_logger\n\n*** LOCAL GEMS ***\n\njekyll_plugin_logger (1.0.0)\n    Author: Mike Slinn\n    Homepage:\n    https://github.com/mslinn/jekyll_plugin_logger\n    License: MIT\n    Installed at: /home/mslinn/.gems\n\n    Generates a Jekyll logger with colored output.\n```\n\n\n### Build and Push to RubyGems\n\nTo release a new version,\n\n1. Update the version number in `version.rb`.\n2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.\n3. Run the following:\n\n   ```shell\n   $ bundle exec rake release\n   ```\n\n   The above creates a git tag for the version, commits the created tag,\n   and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).\n\n\n## Contributing\n\n1. Fork the project\n2. Create a descriptively named feature branch\n3. Add your feature\n4. Submit a pull request\n\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%2Fmslinn%2Fjekyll_plugin_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fjekyll_plugin_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_plugin_logger/lists"}