Sha256: d4c5f141f4eb6337c458c5a8514b7f295ac0946127724659e80b1ae218778295
Contents?: true
Size: 264 Bytes
Versions: 4
Compression:
Stored size: 264 Bytes
Contents
module Endeca module Logging # Log and benchmark the workings of a single block. Will only be called if # Endeca.benchmark is true def log(message) logger = Endeca.logger logger.debug(message) if Endeca.debug? && logger end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
endeca-1.5.3 | lib/endeca/logging.rb |
endeca-1.5.2 | lib/endeca/logging.rb |
endeca-1.5.1 | lib/endeca/logging.rb |
endeca-1.5.0 | lib/endeca/logging.rb |