|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILogWriter
The ILogWriter interface defines the methods to write specific types of messages to a log. The classes implementing this interface are free to write the messages to any destination of their liking. The ILogger writes its messages to all registered log writers allowing logs to be created on standard output, in flat files and in databases depending on the need of the user.
ILogger
Method Summary | |
---|---|
void |
debug(java.lang.String msg)
Logs the specified message as a debug message in the log. |
void |
debug(java.lang.Throwable t)
Logs an error as a debug message in the log file for a Throwable |
void |
error(java.lang.String msg)
Logs the specified message as an error message in the log. |
void |
error(java.lang.String msg,
java.lang.Throwable t)
Logs the error in the log file |
void |
error(java.lang.Throwable t)
Logs an error in the log file for a Throwable |
void |
info(java.lang.String msg)
Logs an info message in the log file. |
void |
warning(java.lang.String msg)
Logs the specified warning as a warning in the log file. |
Method Detail |
---|
void debug(java.lang.String msg)
msg
- String debug messagevoid debug(java.lang.Throwable t)
t
- Throwable that prompted this log messagevoid error(java.lang.String msg)
msg
- String error messagevoid error(java.lang.Throwable t)
t
- Throwable that prompted this log messagevoid error(java.lang.String msg, java.lang.Throwable t)
msg
- Message to be written to the log filet
- Throwable that prompted this log messagevoid warning(java.lang.String msg)
msg
- String warning messagevoid info(java.lang.String msg)
msg
- String informational message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |