Method: Appium::Core::Logs#get

Defined in:
lib/appium_lib_core/common/log.rb

#get(type) ⇒ Array<Selenium::WebDriver::LogEntry>

Returns A list of logs data.

Examples:


@driver.logs.get 'syslog' # []
@driver.logs.get :syslog # []

Parameters:

  • type (String, Hash)

    You can get particular type’s logs.

Returns:

  • (Array<Selenium::WebDriver::LogEntry>)

    A list of logs data.



30
31
32
# File 'lib/appium_lib_core/common/log.rb', line 30

def get(type)
  @bridge.log type
end