com.ibm.as400.access
Interface Log
- All Known Implementing Classes:
- EventLog, ServletEventLog
- 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(java.lang.String msg)
Logs a message. |
void |
log(java.lang.String msg,
java.lang.Throwable exception)
Logs an exception and message. |
log
public void log(java.lang.String msg)
- Logs a message.
- Parameters:
msg
- The message to log.
log
public void log(java.lang.String msg,
java.lang.Throwable exception)
- Logs an exception and message.
- Parameters:
msg
- The message to log.exception
- The exception to log.