android - Logging strategy -


i'm finish android application. in end have found i've been using bunch of logging statements, like:

log.d(tag, "blah-blah"); 

the question is: production release should them?

  1. just comment/stripe log statements
  2. do else more sophisticated? used log4j properties or so

please share experience.

i this, making compiler remove logging if debug false:

if (constant.debug) log.d(tag, "mein gott, state roflcopter"); 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -