mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
Autocorrect Style/GlobalStdStream offenses
This commit is contained in:
@@ -4,7 +4,7 @@ module Logging
|
||||
private
|
||||
|
||||
def log(message)
|
||||
@logger ||= ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
|
||||
@logger ||= ActiveSupport::TaggedLogging.new(Logger.new($stdout))
|
||||
@logger.tagged("ofn:sample_data") { @logger.info(message) }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user