Note: Issue tracking for this repo has been disabled. Please use the main Appium issue tracker instead.
Access to iOS system, crash, and performance logs.
appium-ios-log package exports three classes,
Instantiated with an options hash with the following parameters:
sim- simulator object
udid- unique identifier of real device
showLogs- whether or not to output logs into the log stream. Defaults to
udid is needed. In the case of running against a simulator,
sim, and against a real device,
Instantiated with a directory in which the crash logs will be stored. Defaults to
Library/Logs/DiagnosticReports in the home directory of the user under whom the device process is running.
Instantiated with an instance of appium-remote-debugger and an optional number, which is the maximum number of performance log events to be saved. Any log events over this limit will cause the oldest event to be dropped. Defaults to
All three classes,
IOSPerformanceLog, provide four
Start log capture.
Stop log capture.
Retrieve the logs since the last time
getLogs() was called.
Retrieve all the logs which have been captured.