jekyll-log-wrapper

jekyll-log-wrapper

A wrapper around Jekyll logger that makes it compliant

Jekyll LogWrapper

Jekyll LogWrapper provides a logging interface to bring the logging interfaces of Jekyll onto par with Ruby stdlib, so that you can use the logging interface of Jekyll with things like ActiveSupport, Sprockets and other pure Ruby systems that depend on similar interfaces between all loggers. This is not a logging facility, you must use Jekyll's logger for our logging interface.

Usage

require "active_support/cache"
wrapper = Jekyll::LogWrapper.new(Jekyll.logger)
cache = ActiveSupport::Cache::FileStore.new(".jekyll-cache")
cache.logger = wrapper
jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer