Class Stdio
- java.lang.Object
-
- me.snowdrop.istio.mixer.adapter.stdio.Stdio
-
- All Implemented Interfaces:
Serializable,HandlerParams
public class Stdio extends Object implements Serializable, HandlerParams
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Stdio()No args constructor for use in serializationStdio(Stream logStream, Integer maxDaysBeforeRotation, Integer maxMegabytesBeforeRotation, Integer maxRotatedFiles, Level metricLevel, Boolean outputAsJson, Level outputLevel, String outputPath, Map<String,Integer> severityLevels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamgetLogStream()IntegergetMaxDaysBeforeRotation()IntegergetMaxMegabytesBeforeRotation()IntegergetMaxRotatedFiles()LevelgetMetricLevel()BooleangetOutputAsJson()LevelgetOutputLevel()StringgetOutputPath()Map<String,Integer>getSeverityLevels()voidsetLogStream(Stream logStream)voidsetMaxDaysBeforeRotation(Integer maxDaysBeforeRotation)voidsetMaxMegabytesBeforeRotation(Integer maxMegabytesBeforeRotation)voidsetMaxRotatedFiles(Integer maxRotatedFiles)voidsetMetricLevel(Level metricLevel)voidsetOutputAsJson(Boolean outputAsJson)voidsetOutputLevel(Level outputLevel)voidsetOutputPath(String outputPath)voidsetSeverityLevels(Map<String,Integer> severityLevels)
-
-
-
Constructor Detail
-
Stdio
public Stdio()
No args constructor for use in serialization
-
Stdio
public Stdio(Stream logStream, Integer maxDaysBeforeRotation, Integer maxMegabytesBeforeRotation, Integer maxRotatedFiles, Level metricLevel, Boolean outputAsJson, Level outputLevel, String outputPath, Map<String,Integer> severityLevels)
- Parameters:
maxDaysBeforeRotation-maxMegabytesBeforeRotation-maxRotatedFiles-outputPath-outputAsJson-logStream-outputLevel-metricLevel-severityLevels-
-
-
Method Detail
-
getLogStream
public Stream getLogStream()
-
setLogStream
public void setLogStream(Stream logStream)
-
getMaxDaysBeforeRotation
public Integer getMaxDaysBeforeRotation()
-
setMaxDaysBeforeRotation
public void setMaxDaysBeforeRotation(Integer maxDaysBeforeRotation)
-
getMaxMegabytesBeforeRotation
public Integer getMaxMegabytesBeforeRotation()
-
setMaxMegabytesBeforeRotation
public void setMaxMegabytesBeforeRotation(Integer maxMegabytesBeforeRotation)
-
getMaxRotatedFiles
public Integer getMaxRotatedFiles()
-
setMaxRotatedFiles
public void setMaxRotatedFiles(Integer maxRotatedFiles)
-
getMetricLevel
public Level getMetricLevel()
-
setMetricLevel
public void setMetricLevel(Level metricLevel)
-
getOutputAsJson
public Boolean getOutputAsJson()
-
setOutputAsJson
public void setOutputAsJson(Boolean outputAsJson)
-
getOutputLevel
public Level getOutputLevel()
-
setOutputLevel
public void setOutputLevel(Level outputLevel)
-
getOutputPath
public String getOutputPath()
-
setOutputPath
public void setOutputPath(String outputPath)
-
-