lib/appium_lib/common/log.rb in appium_lib-9.7.1 vs lib/appium_lib/common/log.rb in appium_lib-9.7.2

- old
+ new

@@ -2,20 +2,23 @@ module Common # @param [String|Hash] type You can get particular type's logs. # @return [[Selenium::WebDriver::LogEntry]] A list of logs data. # # @example + # # @driver.get_log("syslog") #=> [[Selenium::WebDriver::LogEntry]] # @driver.get_log(:syslog) #=> [[Selenium::WebDriver::LogEntry]] # def get_log(type) Appium::Core::Logs.new(@driver.manage.logs).get type end # Get a list of available log types # # @return [[String]] A list of available log types. + # # @example + # # @driver.get_available_log_types #=> [:syslog, :crashlog, :performance] # def get_available_log_types Appium::Core::Logs.new(@driver.manage.logs).available_types end