|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoggerSupport
Method Summary | |
---|---|
void |
applyConfiguration(LogConfiguration configuration)
This method should be called BEFORE any output. |
void |
close()
Call this method to stop the logger and close all the outputs. |
LogConfiguration |
getConfiguration()
Returns the read-only current logger configuration. |
FileHeaderProvider |
getFileHeaderProvider()
The FileHeaderProvider is used for receiving the log files header. |
boolean |
getIsEnabled()
Shows if the logger is active and can perform write operations. |
LoggerPolicy |
getLoggerPolicy()
Gets the LoggerPolicy of the logger. |
Protocol |
getNetworkProtocol()
Please note: The instance of Logger does not control the lifetime or lifecycle of the passed networkProtocol. |
void |
setFileHeaderProvider(FileHeaderProvider fileHeaderProvider)
The FileHeaderProvider is used for receiving the log files header. |
void |
setLoggerPolicy(LoggerPolicy loggerPolicy)
Sets the LoggerPolicy of the logger. |
void |
setNetworkProtocol(Protocol protocol)
Please note: The instance of Logger does not control the lifetime or lifecycle of the passed networkProtocol. |
Method Detail |
---|
void close()
boolean getIsEnabled()
LoggerPolicy getLoggerPolicy()
void setLoggerPolicy(LoggerPolicy loggerPolicy)
FileHeaderProvider getFileHeaderProvider()
void setFileHeaderProvider(FileHeaderProvider fileHeaderProvider) throws LoggerException
LoggerException
LogConfiguration getConfiguration()
void applyConfiguration(LogConfiguration configuration) throws LoggerException
configuration
- The configuration to be applied.
LoggerException
Protocol getNetworkProtocol()
void setNetworkProtocol(Protocol protocol) throws java.lang.Exception
java.lang.Exception
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |