Mike Slinn


Published 2020-10-03. Last modified 2023-11-21.
Time to read: 1 minutes.

This page is part of the jekyll_plugins collection.

Formerly known as logger_factory, jekyll_plugin_logger is a Jekyll plugin packaged as a Ruby gem that provides colored console logs.

All of my plugins use jekyll_plugin_logger for notifying the user that the plugin has loaded and for generating log messages. I wrote it up separately.


To A Jekyll Website

Add the following to your Jekyll website’s Gemfile:

group :jekyll_plugins do
  gem 'jekyll_plugin_logger'

Install all the dependent gems of your Jekyll website by typing:

$ bundle

To A Jekyll Plugin Packaged As A Gem

Add the following to your Gem’s .gemspec:

Gem::Specification.new do |spec|
  spec.add_dependency 'jekyll_plugin_logger'

Install all the dependent gems of your Jekyll website by typing:

Run the Demo

Run the demo by typing:

$ demo/_bin/debug -r

See what happens to the console output when you edit the logging levels in the plugin_loggers section of _config.yml. You will have to restart the demo and touch demo/index.html after each modification to _config.yml to see the output change.

* indicates a required field.

Please select the following to receive Mike Slinn’s newsletter:

You can unsubscribe at any time by clicking the link in the footer of emails.

Mike Slinn uses Mailchimp as his marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp’s privacy practices.