| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface represents a simple logger (LogWriter is an implementation).
LogWriter| Method Summary | |
|  void | flush()Flush the log. | 
|  boolean | isActive()Tells if it is active. | 
|  boolean | isActive(java.lang.String channel)Tells if the given channel is active. | 
|  void | log(java.lang.String channel,
    java.lang.String message)Prints the log message on the right channel. | 
|  void | log(java.lang.String channel,
    java.lang.Throwable t)Prints the error message and stack trace if channel enabled. | 
| Method Detail | 
public boolean isActive()
public boolean isActive(java.lang.String channel)
channel - the channel to test.
public void log(java.lang.String channel,
                java.lang.String message)
A "channel" is a virtual log that may be enabled or disabled by setting the property "identifier".channel.???=true where ??? is the channel identifier that must be passed with the message. If a channel is not recognized or its property is set to false the message is not written.
channel - the channel to put the message on.name - the message to log.
public void log(java.lang.String channel,
                java.lang.Throwable t)
t - the error thrown.public void flush()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||