Sha256: fbfc2c4d1b8dc4294354761bd7ffac0d98df1405384b374266a345d0aa6cd82b

Contents?: true

Size: 450 Bytes

Versions: 24

Compression:

Stored size: 450 Bytes

Contents

require 'sass'
require 'sass/logger'

module Sass
  module Rails
    class Logger < Sass::Logger::Base
      def _log(level, message)

        case level
          when :trace, :debug
            ::Rails.logger.debug message
          when :warn
            ::Rails.logger.warn message
          when :error
            ::Rails.logger.error message
          when :info
            ::Rails.logger.info message
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 5 rubygems

Version Path
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/sass-rails-5.1.0/lib/sass/rails/logger.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/sass-rails-5.1.0/lib/sass/rails/logger.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
sass-rails-5.0.8 lib/sass/rails/logger.rb
sass-rails-5.1.0 lib/sass/rails/logger.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/sass-rails-5.0.7/lib/sass/rails/logger.rb
sass-rails-5.0.7 lib/sass/rails/logger.rb
sass-rails-5.0.6 lib/sass/rails/logger.rb
sass-rails-5.0.5 lib/sass/rails/logger.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/sass-rails-5.0.4/lib/sass/rails/logger.rb
sass-rails-5.0.4 lib/sass/rails/logger.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/sass-rails-5.0.3/lib/sass/rails/logger.rb