|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.FilterOutputStream java.io.PrintStream marf.util.Logger.LogPrintStream
public class Logger.LogPrintStream
Our own LogPrintStream for log delivery.
Field Summary | |
---|---|
protected Logger.LogPrintStream |
oLPS
Internal instance of log stream that might point to a file, STDOUT or STDERR. |
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
Logger.LogPrintStream(java.io.OutputStream poOutputStream)
Defaults output to the stream specified in the parameter. |
|
Logger.LogPrintStream(java.io.OutputStream poOutputStream,
Logger.LogPrintStream poLogPrintStream)
Sets the output to go to the two destinations of the first and second parameters. |
|
Logger.LogPrintStream(java.lang.String pstrFilename)
Default output is to a file. |
Method Summary | |
---|---|
void |
println(java.lang.Object poMessage)
Object to log. |
void |
println(java.lang.String pstrMessage)
Issues a log message to the parent and possibly contained instance of itself. |
Methods inherited from class java.io.PrintStream |
---|
append, append, append, append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, setError, write, write |
Methods inherited from class java.io.FilterOutputStream |
---|
write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Logger.LogPrintStream oLPS
Constructor Detail |
---|
public Logger.LogPrintStream(java.lang.String pstrFilename) throws java.lang.Exception
pstrFilename
- filename of a file to log to
java.lang.Exception
- if the are problems with file operationspublic Logger.LogPrintStream(java.io.OutputStream poOutputStream)
poOutputStream
- stream to log topublic Logger.LogPrintStream(java.io.OutputStream poOutputStream, Logger.LogPrintStream poLogPrintStream)
poOutputStream
- possibly a file or STDOUT/STDERRpoLogPrintStream
- possibly a file or STDOUT/STDERRMethod Detail |
---|
public void println(java.lang.String pstrMessage)
println
in class java.io.PrintStream
pstrMessage
- log message to logPrintStream.println(java.lang.String)
public void println(java.lang.Object poMessage)
println
in class java.io.PrintStream
PrintStream.println(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |