Log and benchmark the workings of a single block.
Log and benchmark the workings of a single block. Will only be called if Endeca.benchmark is true
5 6 7 8
# File 'lib/endeca/logging.rb', line 5 def log(message) logger = Endeca.logger logger.debug(message) if Endeca.debug? && logger end