Silk Mobile

Table of Contents (Homepage)

GetDeviceLog

GetDeviceLog()

images/images/os-icons/os_ios_150x150.png

Description

The device log will be downloaded to the directory where the report is located. In the report, the link to the device log is added. You can configure the GetDeviceLog command by the timeout from app property: "ios.device.log.timeout".

Parameters

  • Name: ios.device.log.timeout

  • Value: time (in milliseconds)

Explanation

The default time out of getting the device log is 300,000 milliseconds (5 minutes), it could be configured by the user by adding the property: ios.device.log.timeout to the app property file with the relevant time out in millisecond.

For example, Add this line to the app property for the configure time out of 2 minutes: ios.device.log.timeout=120000

Code Examples

Java Example
String str4 = client.getDeviceLog();
C# Example
string str4 = client.GetDeviceLog();
VBScript Example
str9 = client.GetDeviceLog ( )
Report
Python Example
var4 = self.client.getDeviceLog()
Perl Example
my $str4 = $client->getDeviceLog();