oracle.portal.provider.v1
Interface ProviderLog
- All Known Implementing Classes:
- HttpProvider
- public interface ProviderLog
A Class class.
- Author:
- Michael Freedman
|
Method Summary |
void |
log(java.lang.String msg)
Writes the specified message to a provider log, which is usually
an event log. |
void |
log(java.lang.String message,
java.lang.Throwable throwable)
Writes the stack trace and an explanatory message
for a given Throwable exception
to the provider log file. |
log
public void log(java.lang.String msg)
- Writes the specified message to a provider log, which is usually
an event log. The message provides explanatory information about
an exception or error or an action the provider takes. The name
and type of the provider log file is specific to the provider engine.
- Parameters:
msg - a String specifying the explanatory
message to be written to the log file
log
public void log(java.lang.String message,
java.lang.Throwable throwable)
- Writes the stack trace and an explanatory message
for a given
Throwable exception
to the provider log file. The stack trace is
part of the Throwable object, and
the message is the one you specify in the message
parameter. The name and type of the provider log file is specific to
the provider engine, but it is usually an event log.
- Parameters:
message - a String that
describes the error or exceptionthrowable - the Throwable error
or exception