org.gerhardb.lib.io
Class EzLogger
java.lang.Object
org.gerhardb.lib.io.EzLogger
public class EzLogger
- extends java.lang.Object
|
Field Summary |
static java.lang.String |
DIVIDER
|
|
Constructor Summary |
EzLogger(java.io.File logFile)
Writes stuff to a log file. |
|
Method Summary |
void |
close()
|
void |
logLine(java.lang.String entry)
|
void |
logTime(java.lang.String type,
java.util.Date start,
java.util.Date stop)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIVIDER
public static final java.lang.String DIVIDER
- See Also:
- Constant Field Values
EzLogger
public EzLogger(java.io.File logFile)
throws java.lang.Exception
- Writes stuff to a log file.
- Parameters:
fileName -
- Throws:
java.lang.Exception
logLine
public void logLine(java.lang.String entry)
logTime
public void logTime(java.lang.String type,
java.util.Date start,
java.util.Date stop)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.