Activities
latest
false
Banner background image
UI Automation Activities
Last updated Apr 3, 2024

SaveLogs

Save logs of a specific type to a file.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

SaveLogs(string, string, Boolean, MobileOptions.SaveLogsOptions)

SaveLogs(
	    string logType,
	    string logFilePath,
	    bool appendToLogFile = true,
	    MobileOptions. SaveLogsOptions options = null
)SaveLogs(
	    string logType,
	    string logFilePath,
	    bool appendToLogFile = true,
	    MobileOptions. SaveLogsOptions options = null
)
logType String
A string specifying the log type that you want to save. The list of available log types can be obtained by calling GetLogTypes(MobileOptions.GetLogTypesOptions).
logFilePath String
A string containing the filename where the logs will be saved.
appendToLogFile Boolean (Optional)
Specifies whether to append log entries to an existing file or overwrite the file. Set to true to append entries. Set false to overwrite the file. If the file doesn't exist, a new one is created.
options MobileOptions.SaveLogsOptions
Specifies the MobileOptions.SaveLogsOptions for the SaveLogs action. Default value is null.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.