3
October
2012
(Re)Hello
Still in the preparation of your delievry, a small thought for the logs. Let's start with a reminder:
"The order in terms of verbosity, from least to most is ERROR, WARN, INFO, DEBUG, VERBOSE. '' Verbose should never be compiled into an application except during development. Debug logs are compiled in goal stripped at runtime. Error, warning and info logs are always kept. » ().
In other words in production phase switching your logs in verbose or debug mode, it will optimize your application (made a large find and replace Log.e by Log.d and so on).
Some will tell me, "Yes, but me, I trace my exceptions with my logs", to which I reply, if the processing is centralized in an ExceptionManager, everything is fine, left in mode error within this class (and this is normal), but if this is not the case is that you have missed one crucial thing in your design. And then I will ask you if it's normal to logger your exceptions on a mobile terminal? …
*_*
Next training Android2EE on Paris from 05 to 09 November 2012 or from 27 to 30 November on Toulouse, you also become a God in programming Android.
And then thank you who? Thanks Android2ee
Mathias Séguy
This email address is being protected from spambots. You need JavaScript enabled to view it.
Founder Android2EE
Training - Expertise - Consulting Android.
EBooks learn programming Android.
Find me on Google +.
Follow me on Twitter
Join my LinkedIn network or Viadeo
You must be connected to post a comment.