@Experimental(value=PORTABILITY) public interface SdkHarnessOptions extends PipelineOptions
Modifier and Type | Interface and Description |
---|---|
static class |
SdkHarnessOptions.LogLevel
The set of log levels that can be used in the SDK harness.
|
static class |
SdkHarnessOptions.SdkHarnessLogLevelOverrides
Defines a log level override for a specific class, package, or name.
|
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
SdkHarnessOptions.LogLevel |
getDefaultSdkHarnessLogLevel()
This option controls the default log level of all loggers without a log level override.
|
SdkHarnessOptions.SdkHarnessLogLevelOverrides |
getSdkHarnessLogLevelOverrides()
This option controls the log levels for specifically named loggers.
|
void |
setDefaultSdkHarnessLogLevel(SdkHarnessOptions.LogLevel logLevel) |
void |
setSdkHarnessLogLevelOverrides(SdkHarnessOptions.SdkHarnessLogLevelOverrides value) |
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@Default.Enum(value="INFO") SdkHarnessOptions.LogLevel getDefaultSdkHarnessLogLevel()
void setDefaultSdkHarnessLogLevel(SdkHarnessOptions.LogLevel logLevel)
SdkHarnessOptions.SdkHarnessLogLevelOverrides getSdkHarnessLogLevelOverrides()
Later options with equivalent names override earlier options.
See SdkHarnessOptions.SdkHarnessLogLevelOverrides
for more information on how to configure logging on
a per Class
, Package
, or name basis. If used from the command line, the
expected format is {"Name":"LogLevel",...}, further details on SdkHarnessOptions.SdkHarnessLogLevelOverrides.from(java.util.Map<java.lang.String, java.lang.String>)
.
void setSdkHarnessLogLevelOverrides(SdkHarnessOptions.SdkHarnessLogLevelOverrides value)