wonder-mice / zf_log

Core logging library for C/ObjC/C++
MIT License
194 stars 51 forks source link

NSLog no longer works on iOS since Xcode 10 #44

Open kakyoism opened 4 years ago

kakyoism commented 4 years ago

I've tested ZF_LOG_USE_NSLOG with various tips and finally came to the conclusion that NSLog is completely disabled for syslog on iOS, in favor of the new macro os_log. None of the Xcode scheme environment variable tweaks worked for me.

See this StackOverflow answer:

https://stackoverflow.com/a/49081487/987846

syslog API still works though.