info.aduna.app.logging.base
Class LogConfigurationBase
java.lang.Object
info.aduna.app.logging.base.LogConfigurationBase
- All Implemented Interfaces:
- Configuration, LogConfiguration
- Direct Known Subclasses:
- Log4jConfiguration
public abstract class LogConfigurationBase
- extends Object
- implements LogConfiguration
Base implementation of LogConfiguration.
- Author:
- Herko ter Horst
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogConfigurationBase
protected LogConfigurationBase(File applicationDataDir)
throws IOException
- Throws:
IOException
getConfDir
public File getConfDir()
- Description copied from interface:
LogConfiguration
- The location on the file system where logging configuration is stored.
- Specified by:
getConfDir in interface LogConfiguration
- Returns:
- the location on the file system where logging configuration is stored
getLoggingDir
public File getLoggingDir()
- Description copied from interface:
LogConfiguration
- The location on the file system where logging data is stored.
- Specified by:
getLoggingDir in interface LogConfiguration
- Returns:
- the location on the file system where logging data is stored
isDebugLoggingEnabled
public boolean isDebugLoggingEnabled()
- Description copied from interface:
LogConfiguration
- Is debug logging enabled?
- Specified by:
isDebugLoggingEnabled in interface LogConfiguration
- Returns:
- true if debug logging is enabled, false otherwise
setDebugLoggingEnabled
public void setDebugLoggingEnabled(boolean debugLoggingEnabled)
- Description copied from interface:
LogConfiguration
- Enable or disable debug logging.
- Specified by:
setDebugLoggingEnabled in interface LogConfiguration
- Parameters:
debugLoggingEnabled - set to true if debug logging should be enabled, set to false
otherwise
getPackages
protected Set<String> getPackages()
Copyright © 1997-2008 Aduna. All Rights Reserved.