An open API service indexing awesome lists of open source software.

https://github.com/envygeeks/jekyll-log-wrapper

A wrapper around Jekyll logger that makes it compliant
https://github.com/envygeeks/jekyll-log-wrapper

jekyll jekyll-plugin logging rails

Last synced: about 2 months ago
JSON representation

A wrapper around Jekyll logger that makes it compliant

Awesome Lists containing this project

README

          



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

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