public class LogConfigurator extends Object
| Constructor and Description |
|---|
LogConfigurator(String logDir)
Creates a new
LogConfigurator instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(InputStream loggingProperties)
Configures the logging system using the given logging properties.
|
public LogConfigurator(String logDir) throws IOException
LogConfigurator instance.logDir - The directory for log filesIOException - When the log directory cannot be createdpublic void configure(InputStream loggingProperties) throws IOException
LOG_DIR' by the path of the directory where the log files must be placed.loggingProperties - The properties steamIOException - When an exception occurs while reading the loggingPropertiesCopyright © 2014. All rights reserved.