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
- Host: GitHub
- URL: https://github.com/envygeeks/jekyll-log-wrapper
- Owner: envygeeks
- License: mit
- Created: 2017-08-12T16:41:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T00:53:54.000Z (almost 9 years ago)
- Last Synced: 2026-04-16T04:12:32.317Z (2 months ago)
- Topics: jekyll, jekyll-plugin, logging, rails
- Language: Ruby
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# 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
```