|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jlog2.channel.LogChannel
public abstract class LogChannel
This abstract class provides descriptions of the methods that need to be implemented by a channel that can be used by a logger to log messages.
| Constructor Summary | |
|---|---|
LogChannel()
|
|
| Method Summary | |
|---|---|
protected abstract void |
createLogChannel()
Create the log channel. |
abstract void |
writeError(java.lang.Exception error)
Write an exception to the log channel. |
abstract void |
writeMessage(java.lang.String message)
Write the message to the log channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogChannel()
| Method Detail |
|---|
protected abstract void createLogChannel()
throws java.lang.Exception
java.lang.Exception - any error.
public abstract void writeMessage(java.lang.String message)
throws java.lang.Exception
message - the message to write.
java.lang.Exception - any error.
public abstract void writeError(java.lang.Exception error)
throws java.lang.Exception
error - 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 | |||||||||