|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlogging.LogFile
public class LogFile
a container for multiple log records
LogRecord| Constructor Summary | |
|---|---|
LogFile()
|
|
| Method Summary | |
|---|---|
void |
add(LogRecord logToAdd)
add a LogRecord as part of the log |
java.util.Date |
getStartedDate()
return the Date when the log was started |
void |
LogToConsole()
print log record out to the console |
void |
setBeginningLogInfo(java.lang.String start)
call upon the beginning of a connection to put basic information into the start of the log record records a started logging time |
void |
setEndingLogInfo(java.lang.String end)
call upon the end of a connection to put basic information into the end of the log record records a stopped logging time |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogFile()
| Method Detail |
|---|
public void setBeginningLogInfo(java.lang.String start)
start - String to describe the start of the connectionpublic void setEndingLogInfo(java.lang.String end)
end - String to describe the end of the connectionpublic void LogToConsole()
public java.util.Date getStartedDate()
public void add(LogRecord logToAdd)
logToAdd - LogRecord to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||