Can I leave a record in release builds?

I read this question that protects the adoption of NSLog statements from release versions.

Is it acceptable, instead of cluttering up the main log with garbage, instead writing it to the Apple syslog, then it will be hidden from the main log?

Or am I just overdoing it? Are there any cases where logging was useful to you in determining an application error after release?

+3
source share
2 answers

I found that the log messages that I add during development usually do one of three things:

  • ,
  • , (, ).
  • , , , ,

1 , , , , , .

, , , . , () .

ASL , debug info, , - , .

+2

, , . , , , , . , .

+2

Source: https://habr.com/ru/post/1762500/


All Articles