Skip to content

envygeeks/jekyll-log-wrapper

Repository files navigation

Donate

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

About

A wrapper around Jekyll logger that makes it compliant

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages