To speed up my debugging, I highlight specific messages for instant detection, for example:
if (isOK) Log.i(TAG, stringVarContentOfMessage); else Log.v(TAG, stringVarContentOfMessage);
It works, but scans this source code again and again, where the only excuse for engaging in 4 precious lines is only one different symbol (Log.i vs. Log.v) for me.
Any suggestions for caring for this thorn without resorting to the following:
isOK ? Log.i(TAG, stringVarContentOfMessage) : Log.v(TAG, stringVarContentOfMessage);
source share