Custom iOS logs in Appium

Could someone please guide me on how to implement an appender so that custom iOS logs are available in Appium?

I would like to read the logs that the developers added in the code, but so far I don’t see a connection between their logger and the available Appium logs, pretty much the same way it works with logcat on Android.

Try java-client/src/e2eIosTest/java/io/appium/java_client/ios/IOSSyslogListenerTest.java at master · appium/java-client · GitHub

If I understood correctly, same logs can be retrieved with
driver.manage().logs().get("syslog")
but they don’t contain the records I need, although one of the appenders definitely logs the necessary information.

I guess the appender itself must be configured for this somehow.