|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.folt.util.OpenTMSLogger
public class OpenTMSLogger
| Constructor Summary | |
|---|---|
OpenTMSLogger()
|
|
| Method Summary | |
|---|---|
static void |
close()
close - close the log file and resets to standard output stream |
static java.lang.String |
createLogFileName()
createLogFileName - creates a standard log file names "OpenTMS" using createLogFileName(String basicname) |
static java.lang.String |
createLogFileName(java.lang.String basicname)
createLogFileName - create a (new) log file in the OpenTMS log directory )Property "OpenTMS.log.dir") |
static void |
println(java.lang.String str)
println prints a line to the current log file woth calling hierarchy and date/time information |
static java.lang.String |
returnLogFile()
returnLogFile - returns the current log file name |
static java.lang.String |
returnLogFileName()
returnLogFileName - returns the current log file name |
static int |
returnLogLevel()
returnLogLevel the current log level is returned |
static void |
setLogFile()
setLogFile - set the log file to the standard OpenTMS log file (OpenTMS) using createLogFileName() |
static void |
setLogFile(java.lang.String logFileName)
setLogFile - sets the log file to a given file name |
static void |
setLogLevel(int iLog)
setLogLevel - sets the log level to a specific value (int) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenTMSLogger()
| Method Detail |
|---|
public static void close()
public static java.lang.String createLogFileName()
public static java.lang.String createLogFileName(java.lang.String basicname)
basicname - - the file name of the log file to be created
public static void println(java.lang.String str)
string - the string to printpublic static java.lang.String returnLogFile()
public static java.lang.String returnLogFileName()
public static int returnLogLevel()
public static void setLogFile()
public static void setLogFile(java.lang.String logFileName)
logFileName - - the log file namepublic static void setLogLevel(int iLog)
iLog - - the log level to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||