InternalRootLogger
, RootLogger
Logger
@Deprecated
public interface LoggerSupport
Modifier and Type | Method | Description |
---|---|---|
void |
applyConfiguration(LogConfiguration configuration) |
Deprecated.
This method should be called BEFORE any output.
|
void |
close() |
Deprecated.
Call this method to stop the logger and close all the outputs.
|
LogConfiguration |
getConfiguration() |
Deprecated.
Returns the read-only current logger configuration.
|
FileHeaderProvider |
getFileHeaderProvider() |
Deprecated.
The FileHeaderProvider is used for receiving the log files header.
|
boolean |
getIsEnabled() |
Deprecated.
Shows if the logger is active and can perform write operations.
|
LoggerPolicy |
getLoggerPolicy() |
Deprecated.
Gets the LoggerPolicy of the logger.
|
Protocol |
getNetworkProtocol() |
Deprecated.
Please note: The instance of Logger does not control the lifetime or lifecycle of the
passed networkProtocol.
|
void |
setFileHeaderProvider(FileHeaderProvider fileHeaderProvider) |
Deprecated.
The FileHeaderProvider is used for receiving the log files header.
|
void |
setLoggerPolicy(LoggerPolicy loggerPolicy) |
Deprecated.
Sets the LoggerPolicy of the logger.
|
void |
setNetworkProtocol(Protocol protocol) |
Deprecated.
Please note: The instance of Logger does not control the lifetime or lifecycle of the
passed networkProtocol.
|
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
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.