public static class Logging.LoggingConfig extends IOUtils.SavingConfig
IOUtils.SavingConfig
Constructor and Description |
---|
LoggingConfig(java.io.File f)
Creates a new LoggingConfig.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Returns whether logging is enabled.
|
void |
setEnabled(boolean e)
Enables or disables logging to the file.
|
getFile, setFile
public LoggingConfig(java.io.File f) throws java.io.IOException
f
- The File to log to.java.io.IOException
- When f
is not a file but a directory.IOUtils.SavingConfig