Sha256: b9752c92f01c2f985c81b8230fb9438c91bfe4aa094adc5fa55796c87f9f165c
Contents?: true
Size: 262 Bytes
Versions: 30
Compression:
Stored size: 262 Bytes
Contents
module Smess module Logging def logger # use the Rails logger if it's defined @logger ||= if defined?(Rails) Rails.logger else l = ::Logger.new(STDOUT) l.level = Logger::WARN l end end end end
Version data entries
30 entries across 30 versions & 1 rubygems