Class: Webdrivers::Logger

Inherits:
Selenium::WebDriver::Logger
  • Object
show all
Defined in:
lib/webdrivers/logger.rb

Overview

Examples:

Enable full logging

Webdrivers.logger.level = :debug

Log to file

Webdrivers.logger.output = 'webdrivers.log'

Use logger manually

Webdrivers.logger.info('This is info message')
Webdrivers.logger.warn('This is warning message')

Instance Method Summary collapse

Constructor Details

#initializeLogger

Returns a new instance of Logger.



16
17
18
# File 'lib/webdrivers/logger.rb', line 16

def initialize
  super('Webdrivers')
end