Package net.i2p.addressbook
Class Log
- java.lang.Object
-
- net.i2p.addressbook.Log
-
class Log extends Object
A simple log with automatic time stamping.- Author:
- Ragnarok
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(String entry)
Write entry to a new line in the log, with appropriate time stamp.
-
-
-
Constructor Detail
-
Log
public Log(File file)
Construct a Log instance that writes to the File file.- Parameters:
file
- A File for the log to write to.
-
-
Method Detail
-
append
public void append(String entry)
Write entry to a new line in the log, with appropriate time stamp.- Parameters:
entry
- A String containing a message to append to the log.
-
-