Sha256: b794fbab5e0c2b489f94f6c1bfe2d2b66dfc53df76102905d00db0cc4a668c05

Contents?: true

Size: 365 Bytes

Versions: 8

Compression:

Stored size: 365 Bytes

Contents

class Grape::Middleware::Logger::Railtie < Rails::Railtie
  initializer 'grape.middleware.logger', after: :load_config_initializers do
    Grape::Middleware::Logger.logger = Rails.application.config.logger || Rails.logger.presence
    Grape::Middleware::Logger.filter = ActionDispatch::Http::ParameterFilter.new Rails.application.config.filter_parameters
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grape-middleware-logger-1.10.0 lib/grape/middleware/logger/railtie.rb
grape-middleware-logger-1.9.0 lib/grape/middleware/logger/railtie.rb
grape-middleware-logger-1.8.0 lib/grape/middleware/logger/railtie.rb
grape-middleware-logger-1.7.1 lib/grape/middleware/logger/railtie.rb
grape-middleware-logger-1.7.0 lib/grape/middleware/logger/railtie.rb
grape-middleware-logger-1.6.0 lib/grape/middleware/logger/railtie.rb
grape-middleware-logger-1.5.1 lib/grape/middleware/logger/railtie.rb
grape-middleware-logger-1.5.0 lib/grape/middleware/logger/railtie.rb