public class StdioSpec extends Object implements Serializable, IstioSpec
| Constructor and Description |
|---|
StdioSpec()
No args constructor for use in serialization
|
StdioSpec(Stream logStream,
Integer maxDaysBeforeRotation,
Integer maxMegabytesBeforeRotation,
Integer maxRotatedFiles,
Level metricLevel,
Boolean outputAsJson,
Level outputLevel,
String outputPath,
Map<String,Integer> severityLevels) |
| Modifier and Type | Method and Description |
|---|---|
Stream |
getLogStream() |
Integer |
getMaxDaysBeforeRotation() |
Integer |
getMaxMegabytesBeforeRotation() |
Integer |
getMaxRotatedFiles() |
Level |
getMetricLevel() |
Boolean |
getOutputAsJson() |
Level |
getOutputLevel() |
String |
getOutputPath() |
Map<String,Integer> |
getSeverityLevels() |
void |
setLogStream(Stream logStream) |
void |
setMaxDaysBeforeRotation(Integer maxDaysBeforeRotation) |
void |
setMaxMegabytesBeforeRotation(Integer maxMegabytesBeforeRotation) |
void |
setMaxRotatedFiles(Integer maxRotatedFiles) |
void |
setMetricLevel(Level metricLevel) |
void |
setOutputAsJson(Boolean outputAsJson) |
void |
setOutputLevel(Level outputLevel) |
void |
setOutputPath(String outputPath) |
void |
setSeverityLevels(Map<String,Integer> severityLevels) |
public StdioSpec()
public StdioSpec(Stream logStream, Integer maxDaysBeforeRotation, Integer maxMegabytesBeforeRotation, Integer maxRotatedFiles, Level metricLevel, Boolean outputAsJson, Level outputLevel, String outputPath, Map<String,Integer> severityLevels)
maxDaysBeforeRotation - maxMegabytesBeforeRotation - maxRotatedFiles - outputPath - outputAsJson - logStream - outputLevel - metricLevel - severityLevels - public Stream getLogStream()
public void setLogStream(Stream logStream)
public Integer getMaxDaysBeforeRotation()
public void setMaxDaysBeforeRotation(Integer maxDaysBeforeRotation)
public Integer getMaxMegabytesBeforeRotation()
public void setMaxMegabytesBeforeRotation(Integer maxMegabytesBeforeRotation)
public Integer getMaxRotatedFiles()
public void setMaxRotatedFiles(Integer maxRotatedFiles)
public Level getMetricLevel()
public void setMetricLevel(Level metricLevel)
public Boolean getOutputAsJson()
public void setOutputAsJson(Boolean outputAsJson)
public Level getOutputLevel()
public void setOutputLevel(Level outputLevel)
public String getOutputPath()
public void setOutputPath(String outputPath)
Copyright © 2017–2018 Red Hat. All rights reserved.