|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.Logger
public class Logger
Utility class to write a log file. In this app, this gives us some hope of automating the testing procedure. Because of that, this class is rather special purpose and primitive.
| Field Summary | |
|---|---|
(package private) java.io.BufferedWriter |
file
|
| Constructor Summary | |
|---|---|
Logger(java.lang.String logfileName)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
log(java.lang.String msg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.io.BufferedWriter file
| Constructor Detail |
|---|
public Logger(java.lang.String logfileName)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void log(java.lang.String msg)
throws java.io.IOException
java.io.IOExceptionpublic void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||