info.aduna.app.logging
Interface LogConfiguration

All Superinterfaces:
Configuration
All Known Implementing Classes:
Log4jConfiguration, LogConfigurationBase

public interface LogConfiguration
extends Configuration

Configuration settings for application logging.

Author:
Herko ter Horst

Field Summary
static String LOGGING_DIR
           
static String LOGGING_FILE
           
 
Fields inherited from interface info.aduna.app.config.Configuration
CONFIG_DIR
 
Method Summary
 File getConfDir()
          The location on the file system where logging configuration is stored.
 File getLoggingDir()
          The location on the file system where logging data is stored.
 LogReader getLogReader()
          A reader that can read logging information as stored by the logger configured through this LogConfiguration.
 boolean isDebugLoggingEnabled()
          Is debug logging enabled?
 void setDebugLoggingEnabled(boolean enabled)
          Enable or disable debug logging.
 
Methods inherited from interface info.aduna.app.config.Configuration
destroy, init, load, save
 

Field Detail

LOGGING_DIR

static final String LOGGING_DIR
See Also:
Constant Field Values

LOGGING_FILE

static final String LOGGING_FILE
See Also:
Constant Field Values
Method Detail

getConfDir

File getConfDir()
The location on the file system where logging configuration is stored.

Returns:
the location on the file system where logging configuration is stored

getLoggingDir

File getLoggingDir()
The location on the file system where logging data is stored.

Returns:
the location on the file system where logging data is stored

getLogReader

LogReader getLogReader()
A reader that can read logging information as stored by the logger configured through this LogConfiguration.

Returns:
a reader that can read logging information as stored by the logger configured through this LogConfiguration

isDebugLoggingEnabled

boolean isDebugLoggingEnabled()
Is debug logging enabled?

Returns:
true if debug logging is enabled, false otherwise

setDebugLoggingEnabled

void setDebugLoggingEnabled(boolean enabled)
Enable or disable debug logging.

Parameters:
enabled - set to true if debug logging should be enabled, set to false otherwise


Copyright © 1997-2008 Aduna. All Rights Reserved.