Sha256: 8a2364ca57462d8b12efc051e3c78d37eb21c8d6899cd46b1577c4ff95a48be9

Contents?: true

Size: 176 Bytes

Versions: 10

Compression:

Stored size: 176 Bytes

Contents

# encoding: UTF-8

module Shapewear::Logging
  def logger
    @logger ||= (::Rails.logger rescue Logger.new(STDOUT))
  end

  def logger=(logger)
    @logger = logger
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shapewear-0.1.8 lib/shapewear/logging.rb
shapewear-0.1.7 lib/shapewear/logging.rb
shapewear-0.1.5 lib/shapewear/logging.rb
shapewear-0.1.4 lib/shapewear/logging.rb
shapewear-0.1.2 lib/shapewear/logging.rb
shapewear-0.1.1 lib/shapewear/logging.rb
shapewear-0.1.0 lib/shapewear/logging.rb
shapewear-0.0.6 lib/shapewear/logging.rb
shapewear-0.0.5 lib/shapewear/logging.rb
shapewear-0.0.4 lib/shapewear/logging.rb