|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Log
The Log interface defines a mechanism for exception and message logging in a device-independent manner.
Implementations of this interface can direct the logged
information to the appropriate file or output device. Event logging
is intended for end-user information. In contrast,
Trace
is intended for
debugging information for developers.
Method Summary | |
---|---|
void |
log(String msg)
Logs a message. |
void |
log(String msg,
Throwable exception)
Logs an exception and message. |
Method Detail |
---|
void log(String msg)
msg
- The message to log.void log(String msg, Throwable exception)
msg
- The message to log.exception
- The exception to log.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |