|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jlog2.channel.LogChannel
org.jlog2.channel.StdOutChannel
public class StdOutChannel
This class provides a channel to log messages to the system standard output stream.
| Constructor Summary | |
|---|---|
StdOutChannel()
Create a new instance of StdOutChannel. |
|
| Method Summary | |
|---|---|
protected void |
createLogChannel()
Create the file channel. |
void |
writeError(java.lang.Exception error)
Write an exception to the file channel. |
void |
writeMessage(java.lang.String message)
Write the message to the file channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StdOutChannel()
throws java.lang.Exception
java.lang.Exception - any error.| Method Detail |
|---|
protected void createLogChannel()
throws java.lang.Exception
createLogChannel in class LogChanneljava.lang.Exception - any error.
public void writeMessage(java.lang.String message)
throws java.lang.Exception
writeMessage in class LogChannelmessage - the message to write.
java.lang.Exception - any error.
public void writeError(java.lang.Exception error)
throws java.lang.Exception
writeError in class LogChannelerror - the error to write.
java.lang.Exception - any error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||