util
Class ProgressLogger
java.lang.Object
util.ProgressLogger
public class ProgressLogger
- extends java.lang.Object
The logger class.
- Author:
- Shrinand Javadekar
Field Summary |
(package private) static org.apache.log4j.FileAppender |
fp
|
(package private) static org.apache.log4j.Logger |
log
|
(package private) static ProgressLogger |
progressLogger
|
Method Summary |
org.apache.log4j.FileAppender |
getFp()
|
static org.apache.log4j.Logger |
getInstance()
Return the instance of the logger that ProgressLogger is using. |
static ProgressLogger |
getProgressLoggerInstance()
|
static void |
init(java.lang.String propFilePath)
This method should be invoked if you want to specify your own propertes
file to instantiate the Logger. |
void |
setFp(org.apache.log4j.FileAppender fp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.log4j.Logger log
progressLogger
static ProgressLogger progressLogger
fp
static org.apache.log4j.FileAppender fp
init
public static void init(java.lang.String propFilePath)
- This method should be invoked if you want to specify your own propertes
file to instantiate the Logger.
- Parameters:
propFilePath
- path to the properties file from which to read the properties.
getInstance
public static org.apache.log4j.Logger getInstance()
- Return the instance of the logger that ProgressLogger is using.
- Returns:
- HearsayLogger
getProgressLoggerInstance
public static ProgressLogger getProgressLoggerInstance()
getFp
public org.apache.log4j.FileAppender getFp()
setFp
public void setFp(org.apache.log4j.FileAppender fp)