|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bb.util.LogFile
public class LogFile
Provides simple log facilities. These are:
| Constructor Summary | |
|---|---|
LogFile(java.lang.String bn)
Create a LogFile using the specified base name. |
|
LogFile(java.lang.String bn,
java.lang.String fmt)
Create a LogFile using the specified base name. |
|
| Method Summary | |
|---|---|
void |
write(java.lang.String msg)
Append a message to the log file. |
void |
writeDate(java.lang.String msg)
Append a message to the log file and add a date/time stamp. |
void |
writeln(byte[] msg)
Append a message to the log file. |
void |
writeln(java.lang.String msg)
Append a message to the log file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogFile(java.lang.String bn)
LogFile using the specified base name.
The actual date is always added to the base name, and each day a new log file is created.
If * is used as base name, stdout is used for output.
bn - the log files base name
public LogFile(java.lang.String bn,
java.lang.String fmt)
LogFile using the specified base name.
The actual date is always added to the base name, and each day a new log file is created.
If * is used as base name, stdout is used for output.
bn - the log files base namefmt - the date format which is appended to the basename| Method Detail |
|---|
public void writeDate(java.lang.String msg)
msg - the messagepublic void writeln(java.lang.String msg)
msg - the messagepublic void writeln(byte[] msg)
msg - the messagepublic void write(java.lang.String msg)
msg - the message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||