Commit 28c06999 by Abhishek Kanojia Committed by Sid Raval

Fix method syntax in logger [ci skip]

parent cc8edfeb
...@@ -2,7 +2,7 @@ module Paperclip ...@@ -2,7 +2,7 @@ module Paperclip
module Logger module Logger
# Log a paperclip-specific line. This will log to STDOUT # Log a paperclip-specific line. This will log to STDOUT
# by default. Set Paperclip.options[:log] to false to turn off. # by default. Set Paperclip.options[:log] to false to turn off.
def log message def log(message)
logger.info("[paperclip] #{message}") if logging? logger.info("[paperclip] #{message}") if logging?
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment