Interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLOGCAT_FILTER_SPECS_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.util.List<java.lang.String>>getLogcatFilterSpecs()Get the logcat filter format.default TsetLogcatFilterSpecs(java.util.List<java.lang.String> format)Allows to customize logcat output filtering.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
LOGCAT_FILTER_SPECS_OPTION
static final java.lang.String LOGCAT_FILTER_SPECS_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setLogcatFilterSpecs
default T setLogcatFilterSpecs(java.util.List<java.lang.String> format)
Allows to customize logcat output filtering.- Parameters:
format- The filter specifier. Consists from series of `tag[:priority]` items, where `tag` is a log component tag (or `*` to match any value) and `priority`: V (Verbose), D (Debug), I (Info), W (Warn), E (Error), F (Fatal), S (Silent - supresses all output). `tag` without `priority` defaults to `tag:v`. If not specified, filterspec is set from ANDROID_LOG_TAGS environment variable. If no filterspec is found, filter defaults to `*:I`, which means to only show log lines with any tag and the log level INFO or higher.- Returns:
- self instance for chaining.
-
getLogcatFilterSpecs
default java.util.Optional<java.util.List<java.lang.String>> getLogcatFilterSpecs()
Get the logcat filter format.- Returns:
- Format specifier. See the documentation on
setLogcatFilterSpecs(List)for more details.
-
-