Module: ZimbraInterceptingProxy::Debug

Defined in:
lib/zimbra_intercepting_proxy/debug.rb

Class Method Summary collapse

Class Method Details

.logger(data) ⇒ Object



6
7
8
9
10
11
# File 'lib/zimbra_intercepting_proxy/debug.rb', line 6

def self.logger(data)
  return unless ZimbraInterceptingProxy::Config.debug
  return if data.nil?
  logger = Logger.new(STDOUT)
  logger.info { data }
end