com.adventnet.afp.log
Class LogConfigFileReader

java.lang.Object
  |
  +--com.adventnet.afp.log.LogConfigFileReader
All Implemented Interfaces:
LogConfigReader

public class LogConfigFileReader
extends java.lang.Object
implements LogConfigReader

This class is used to parse the logging configuration file and get the details of all the Log Writers and Loggers present under each writers.


Constructor Summary
LogConfigFileReader(java.lang.String configurationFileName)
           
 
Method Summary
 LoggerProperties[] getLoggerProperties()
          The getLoggerProps method is used to get the properties of all the loggers.
 LogWriterProperties[] getLogWriterProperties()
          The getLogWriterProps method is used to get the properties of all the log Writers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogConfigFileReader

public LogConfigFileReader(java.lang.String configurationFileName)
                    throws LogException
Method Detail

getLogWriterProperties

public LogWriterProperties[] getLogWriterProperties()
The getLogWriterProps method is used to get the properties of all the log Writers. It returns an array of LogWriterProperties. Each element in the array has the properties of a logWriter.
Specified by:
getLogWriterProperties in interface LogConfigReader
Returns:
LogWriterProperties[] containing properties of all LogWriter.

getLoggerProperties

public LoggerProperties[] getLoggerProperties()
The getLoggerProps method is used to get the properties of all the loggers. It returns an array of LoggerProperties. Each element in the array has the properties of a Logger.
Specified by:
getLoggerProperties in interface LogConfigReader
Returns:
LoggerProperties[] containing properties of all Loggers.


Copyright (c)AdventNet Inc., 1996-2004