|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.perf.log.logger.FileWriter
public class FileWriter
This class is used to write the perf log messages to a file
Method Summary | |
---|---|
static FileWriter |
getInstance()
Returns the singleton instance of PerfLogger class |
static int |
getLogFileMaxSize()
|
static int |
getLogFileNumToKeep()
|
static java.lang.String |
getLogFileRootDirFromProperty()
|
static java.lang.String |
getLogRootDir()
|
static boolean |
isFileWriterEnabled()
|
static void |
setFileWriterEnabled(boolean fileWriterEnabled)
|
static void |
setInstance(FileWriter instance)
|
static void |
setLogFileMaxSize(int logFileMaxSize)
|
static void |
setLogFileNumToKeep(int logFileNumToKeep)
|
static void |
setLogFileRootDirFromProperty(java.lang.String logFileRootDir)
|
static void |
write(PerfLogData perfLogData)
This method internally calls the PerfLogger Instance to put a PERF LOG entry in to the PERFDB-LOG File. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FileWriter getInstance() throws java.lang.Exception
java.lang.Exception
public static void write(PerfLogData perfLogData) throws java.lang.Exception
messageContent
-
java.lang.Exception
public static java.lang.String getLogFileRootDirFromProperty()
public static java.lang.String getLogRootDir()
public static void setFileWriterEnabled(boolean fileWriterEnabled)
public static void setLogFileRootDirFromProperty(java.lang.String logFileRootDir)
public static void setLogFileMaxSize(int logFileMaxSize)
public static void setLogFileNumToKeep(int logFileNumToKeep)
public static void setInstance(FileWriter instance)
public static boolean isFileWriterEnabled()
public static int getLogFileMaxSize()
public static int getLogFileNumToKeep()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |