Optimise your Ruby logging with blocks
When peppering your code with logging statements, you could be adding overhead even when your application’s log level is set to display only critical errors. Switching to passing blocks to your log commands may help.
Post a comment