Interface FileBasedErrorLoggerConfig
-
- All Superinterfaces:
GenericConfig
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface FileBasedErrorLoggerConfig extends GenericConfig
This interface defines a set of methods that may be used to obtain information about the general configuration for a file-based error logger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getLogFile()
Retrieves the path to the log file to which new log messages will be written.LogWriter
getLogWriter()
Returns the underlying writer for the server error logger, which can be used to log arbitrary messages back through the core server logging framework.-
Methods inherited from interface com.unboundid.directory.sdk.common.config.GenericConfig
getConfigObjectDN, getConfigObjectName, getServerContext
-
-
-
-
Method Detail
-
getLogFile
java.io.File getLogFile()
Retrieves the path to the log file to which new log messages will be written.- Returns:
- The path to the log file to which new log messages will be written.
-
getLogWriter
LogWriter getLogWriter()
Returns the underlying writer for the server error logger, which can be used to log arbitrary messages back through the core server logging framework.- Returns:
- a
LogWriter
instance.
-
-