Module: Puppeteer::DebugPrint

Instance Method Summary collapse

Instance Method Details

#debug_print(*args) ⇒ Object



10
11
12
# File 'lib/puppeteer/debug_print.rb', line 10

def debug_print(*args)
  print(*args)
end

#debug_puts(*args, **kwargs) ⇒ Object



5
6
7
8
# File 'lib/puppeteer/debug_print.rb', line 5

def debug_puts(*args, **kwargs)
  @__debug_logger ||= Logger.new($stdout)
  @__debug_logger.debug(*args, **kwargs)
end