Sha256: eb0aff5dac02b2ff5ae89bb475414b0eed8023a46f5ba1122e49eee8c079d20d

Contents?: true

Size: 157 Bytes

Versions: 1

Compression:

Stored size: 157 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shapewear-0.0.3 lib/shapewear/logging.rb