¡@

Home 

2014/10/16 ¤W¤È 08:18:02

android Programming Glossary: logging_level

Should I comment my log calls when creating my final package?

http://stackoverflow.com/questions/4958860/should-i-comment-my-log-calls-when-creating-my-final-package

executes based on a static final class variable called LOGGING_LEVEL which has levels 1 5 none errors only errors warnings errors.. int ERRORS_WARNINGS_INFO_DEBUG 4 private static final int LOGGING_LEVEL ERRORS_ONLY Errors warnings info debug default public static.. default public static void e String tag String msg if LOGGING_LEVEL 1 Log.e tag msg public static void e String tag String msg Exception..

Should I comment my log calls when creating my final package?

http://stackoverflow.com/questions/4958860/should-i-comment-my-log-calls-when-creating-my-final-package

TAG blah and then within the Trace.d method the code only executes based on a static final class variable called LOGGING_LEVEL which has levels 1 5 none errors only errors warnings errors warnings info and everything including debug . When producing.. static final int ERRORS_WARNINGS_INFO 3 public static final int ERRORS_WARNINGS_INFO_DEBUG 4 private static final int LOGGING_LEVEL ERRORS_ONLY Errors warnings info debug default public static void e String tag String msg if LOGGING_LEVEL 1 Log.e tag.. final int LOGGING_LEVEL ERRORS_ONLY Errors warnings info debug default public static void e String tag String msg if LOGGING_LEVEL 1 Log.e tag msg public static void e String tag String msg Exception e if LOGGING_LEVEL 1 Log.e tag msg e public static..