Sha256: b731944da59c60f002712a12aa3f1f968eb52488e90d9d51480bade70b0e4b4b
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
require 'rails/railtie' module LogrageActivejob Config = Struct.new(:custom_options, :logger) class Railtie < Rails::Railtie config.lograge_activejob = Config.new config.after_initialize do |app| LogrageActivejob.setup(app) if app.config.lograge.enabled end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lograge_activejob-0.3.2 | lib/lograge_activejob/railtie.rb |
lograge_activejob-0.3.1 | lib/lograge_activejob/railtie.rb |