com.cenqua.shaj.log
Interface Log
- All Known Implementing Classes:
- CommonsLoggingLog, JavaLoggerLog, Log4Log, PrintStreamLog
- public interface Log
Used by Shaj to log errors and debug information.
Setting the system propeerty "shaj.debug" will force Shaj to output error and debug logging
to System.err. Shaj is reasonably verbose in this mode, which is useful for debugging your programs.
By default, Shaj will attempt delegate logging to (in order):
- Jakarta Commons Logging
- log4j (using the Logger class, not the deprecated Category class)
- java.util.logging
- System.err
You can override this by setting your own default logger
|
Method Summary |
void |
debug(java.lang.String msg)
|
void |
error(java.lang.String msg)
|
void |
error(java.lang.String msg,
java.lang.Throwable e)
|
boolean |
isDebug()
|
isDebug
public boolean isDebug()
error
public void error(java.lang.String msg)
error
public void error(java.lang.String msg,
java.lang.Throwable e)
debug
public void debug(java.lang.String msg)
Copyright © 2005 Cenqua. All Rights Reserved.