Sauce Labs provides access to device/system logs on both iOS Simulators as well as iOS real devices.
How you call your logging function, however, will determine whether these logs appear on our side.
At the moment, using os_log's default method will be the only way to see these logs.
This would look something like:
os_log("This log message is from os_log.")
Adding a log object or type like so:
let log = OSLog.init(subsystem: subsystem ?? "myApp", category: "main")
os_log("This log message is from os_log with log object in INFO.", log: log, type: OSLogType.info) // wont work
os_log("This log message is from os_log IN DEBUG.", type: OSLogType.debug)
...will not show up on either log.
In a similar fashion, using Apple's new unified logging API will not work:
let logger = Logger.init(subsystem: subsystem ?? "myApp", category: "main")
logger.debug("This log is from Logger")
This is due to the way on how Appium collects these logs and does not make them accessible.