Sha256: ba6a41c5b3fd1295c41d9442f9fd50fa861e8a1f4af83be69eaa2a6c8568d61c
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true require 'action_controller' require 'active_support' require 'logux/rack' require 'rails/engine' require 'logux/engine' module Logux autoload :Model, 'logux/model' configurable %i[ action_watcher action_watcher_options ] configuration_defaults do |config| config.action_watcher = Logux::Model::UpdatesDeprecator config.action_watcher_options = { level: :error } config.logger = Rails.logger if defined?(Rails.logger) config.logger ||= ActiveSupport::Logger.new(STDOUT) config.on_error = proc {} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logux_rails-0.2.0 | lib/logux_rails.rb |