Reputation: 179
According Android documentation about Log.e, Log.v,...: "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"
My questions is, What means verbosity? Because If i use Log.v("TAG","STRING"); or Log.e("TAG","STRING"); i see the same info.
Upvotes: 3
Views: 13045
Reputation: 782
Verbose means that it is the least important Log in the logging Tier.
from the docs https://developer.android.com/studio/debug/am-logcat
listed in order from the highest to lowest priority
Log.e(String, String) (error)
Log.w(String, String) (warning)
Log.i(String, String) (information)
Log.d(String, String) (debug)
Log.v(String, String) (verbose)
Upvotes: 1
Reputation: 82563
Verbosity here, simply put, means the level of "casualness" of that message. Error is obviously the most important, and hence least casual, while verbose is the other way around.
You will see the same content when using any of them, but when using logcat filters you can filter only errors or any other level, in which case it'll only show messages of that level.
As per Docs
The order in terms of verbosity, from least to most is ERROR, WARN, INFO, DEBUG, VERBOSE.
Upvotes: 5