Interface LogServiceConfiguration
-
- All Known Implementing Classes:
RefreshableLogServiceConfiguration
public interface LogServiceConfiguration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogEventProcessorgetLogEventProcessor()LogWritergetLogServiceWriter()PropertiesgetProperties()StandardOutputgetStandardOutput()booleanisEnabled(NativeLogger nativeLogger)
-
-
-
Method Detail
-
getProperties
Properties getProperties()
- Returns:
- entire configuration properties
-
getLogServiceWriter
LogWriter getLogServiceWriter()
- Returns:
- the top level (group) writer for the log service, may contain multiple individual writers.
-
isEnabled
boolean isEnabled(NativeLogger nativeLogger)
- Parameters:
nativeLogger- the logger to check for enablement against configuration- Returns:
- true if the specified logger's level is at or above the configured minimum output level of both the writer and that configured for the logger's caller/owner class; otherwise, false.
-
getStandardOutput
StandardOutput getStandardOutput()
- Returns:
- buffered standard out stream writer
-
getLogEventProcessor
LogEventProcessor getLogEventProcessor()
- Returns:
- configured log event processor
-
-