public final class VerboseLogUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
areAllTagsEnabled()
Checks whether all logging is enabled;
|
static boolean |
isTagEnabled(String tag)
Checks whether verbose logging should be output for a given tag.
|
static void |
setEnableAllTags(boolean enable)
Specifies whether or not all logging should be enabled.
|
static void |
setEnabledTags(String... tags)
Sets the tags for which verbose logging should be enabled.
|
public static void setEnabledTags(String... tags)
tags
- The set of tags.public static void setEnableAllTags(boolean enable)
enable
- True if all logging should be enabled; false if only tags enabled by
setEnabledTags should have logging enabled.public static boolean isTagEnabled(String tag)
tag
- The tag.public static boolean areAllTagsEnabled()