Sha256: 9fc698a26ad650248a93f8222afe4e359f382c38192bf17a95b5903964b6efef
Contents?: true
Size: 360 Bytes
Versions: 62
Compression:
Stored size: 360 Bytes
Contents
require 'logger' module Puppeteer::DebugPrint if Puppeteer.env.debug? def debug_puts(*args, **kwargs) @__debug_logger ||= Logger.new($stdout) @__debug_logger.debug(*args, **kwargs) end def debug_print(*args) print(*args) end else def debug_puts(*args, **kwargs) end def debug_print(*args) end end end
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
puppeteer-ruby-0.0.20 | lib/puppeteer/debug_print.rb |
puppeteer-ruby-0.0.19 | lib/puppeteer/debug_print.rb |