|
||||||||||
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.String message)
Write an exception to the output channel. |
void |
writeMessage(java.lang.String message)
Write the message to the output 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 LogChannel
java.lang.Exception
- any error.public void writeMessage(java.lang.String message) throws java.lang.Exception
writeMessage
in class LogChannel
message
- the message to write.
java.lang.Exception
- any error.public void writeError(java.lang.String message) throws java.lang.Exception
writeError
in class LogChannel
message
- the message to write.
java.lang.Exception
- any error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |