|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.adventnet.afp.log.LogConfigFileWriter
This class is used to write the details of the LogWriter or Logger to the XML file. Seperate methods are provided for adding and removing a Logger or LogWriter. This file just updates the current XML file instead of creating a new file.
| Constructor Summary | |
LogConfigFileWriter(java.lang.String configurationFileName)
|
|
| Method Summary | |
void |
addLogger(LoggerProperties loggerProps)
This method is used to write the properties of a Logger to the XML file. |
void |
addLogWriter(LogWriterProperties logWriterProps)
This method is used to write the Writer and its Properties specified with in the |
void |
removeLogger(java.lang.String loggerInstance)
This method is used to remove a Logger's entry from the XML file. |
void |
removeLogWriter(java.lang.String writerInstance)
This method is used to remove a writer from the XML file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LogConfigFileWriter(java.lang.String configurationFileName)
| Method Detail |
public void addLogWriter(LogWriterProperties logWriterProps)
throws LogException
addLogWriter in interface LogConfigWriterlogWriterProps - specifies the properties of the LogWriter
LogException - if an error while adding the LogWriter
public void removeLogWriter(java.lang.String writerInstance)
throws LogException
removeLogWriter in interface LogConfigWriterwriterInstance - a String denoting the LogWriter to be removed
LogException - if an error while removing the LogWriter
public void addLogger(LoggerProperties loggerProps)
throws LogException
addLogger in interface LogConfigWriterloggerProps - specifies the properties of the Logger
LogException - if an error occurs while adding the Logger.
public void removeLogger(java.lang.String loggerInstance)
throws LogException
removeLogger in interface LogConfigWriterloggerInstance - a String value identifying the Logger
LogException - if an error occurs while removing the Logger.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||