Prefer to pass block when logging.

This follows the good practice listed on http://guides.rubyonrails.org/debugging_rails_applications.html#impact-of-logs-on-performance.
Ignore my previous comment, didn't see that there was a guard.