class Log extends Object
| Constructor and Description |
|---|
Log(File file)
Construct a Log instance that writes to the File file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(String entry)
Write entry to a new line in the log, with appropriate time stamp.
|
public Log(File file)
file - A File for the log to write to.public void append(String entry)
entry - A String containing a message to append to the log.