When I was writing a log wrapper for my android application I noticed a strange behavior of androids Log.isLoggable method. Executing following code:
final S
You should use
if (Log.isLoggable(TAG, Log.VERBOSE)) { Log.v(TAG, "verbose is active: " + Log.isLoggable(TAG, Log.VERBOSE)); }