isLoggable
Checks to see whether or not a log for the specified tag is loggable at the specified level. The default level of any tag is set to INFO. This means that any level above and including INFO will be logged. Before you make any calls to a logging method you should check to see if your tag should be logged. You can change the default level by setting a system property: 'setprop log.tag.
Return
true if the tag this is allowed to be logged, otherwise false.
Parameters
tag
The tag to check.
level
The level to check.