This is a process to ensure that debug type logging only appears in the debug state (macro, etc.), and supports different log levels (DEBUG, WARN, INFO, ERROR, etc.)?
I know there may not be a lot of work to achieve this, but I am curious to know if there are many popular downloads that iPhone developers are using that have solved this problem.
It doesn’t have as many levels as you want, but it lets you know enough about how you will do it Up to this point.
Do many iPhone developers use the well-known/popular NSLog replacement/method?
This is a process to ensure that debug type logging only appears in the debug state (macro, etc.), and supports different log levels (DEBUG, WARN, INFO, ERROR, etc.)?
I know there may not be a lot of work to achieve this, but I am curious to know if there are many popular downloads that iPhone developers are using that have solved this problem.
I use Marcus Zarra’s prefix.pch. It used to be at http://www.cimgf.com/2010/05/02/my-current-prefix-pch-file/ but the website is now It’s closed and copied to this gist
It doesn’t have as many levels as you want, but it lets you know enough about how you will do it.