Module: Puppeteer::DebugPrint
- Included in:
- Browser, CDPSession, Connection, Connection::RequestDebugPrinter, Connection::ResponseDebugPrinter, ElementHandle, FrameManager, NetworkManager, RemoteObject, Request
- Defined in:
- lib/puppeteer/debug_print.rb
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 |