public class DefaultContextualLogger extends oracle.adf.share.logging.ADFLogger implements ContextualLogger
Default implementation of interface ContextualLogger.
ADD_CONTEXT_DATA_TAG, ADD_REQUEST_MESSAGE_TAG, ADF_ANALYTICS_LOGGER_NAME, ADF_COMPONENT_NAME, ADF_LOGGER_MESSAGE_BUNDLE, ADF_MESSAGE_ACTION_DESC, ADF_MESSAGE_ACTION_NAME, ADF_MESSAGE_CONTEXT_DATA, ADF_MESSAGE_DEFAULT_CONTEXT_DATA, ADF_MESSAGE_DELIMITER, ADF_MESSAGE_PAYLOAD, ADF_MESSAGE_STATUS, ADF_NODE_END, ADF_PERF_LOGGER_NAME, ADF_REQUEST_END, ADF_WEB_REQUEST, ENTERING_TAG, ENTERRING_TAG, ERROR, EXITING_TAG, INTERNAL_ERROR, NOTIFICATION, TRACE, WARNINGLEVELLEVELLEVELLEVELLEVELLEVELLEVEL| Modifier | Constructor and Description | 
|---|---|
| protected  | DefaultContextualLogger(java.lang.String loggerName,
                       java.lang.String resourceBundle) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()This method is mainly intended to be called by the ContextualLoggingManager
 when the logger is being removed from the context. | 
| void | config(java.lang.String message,
      java.lang.Throwable error)Log a message at level , if and only if the logger is currently
 set to publish messages at that level. | 
| void | config(java.lang.Throwable error)Log a message at level , based on the given error. | 
| void | log(java.util.logging.Level level,
   java.lang.Throwable error)Log a message at the specified level, based on the given error,
 if and only if the logger is currently set to publish messages at that level. | 
addContextData, addContextData, addContextData, addHandler, addRequestMessage, begin, begin, begin, beginRequest, config, config, config, config, createADFLogger, createADFLogger, createADFLogger, createADFLogger, createADFLogger, createADFLogger, end, end, end, endRequest, entering, entering, entering, exiting, exiting, fine, fine, fine, fine, fine, fine, fine, fine, finer, finer, finer, finer, finer, finer, finer, finer, finest, finest, finest, finest, finest, finest, finest, finest, flush, getAnonymousLogger, getAnonymousLogger, getECID, getFilter, getFormattedMessage, getFormattedMessage, getHandlers, getLevel, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, info, info, info, info, info, info, info, internal, internal, internal, internal, isConfig, isFine, isFiner, isFinest, isInfo, isInternal, isLoggable, isSevere, isWarning, log, log, log, log, log, log, log, logp, logp, logp, logp, logp, logp, logrb, logrb, logrb, logrb, logrb, removeHandler, setECID, setFilter, setLevel, setParent, setUseParentHandlers, severe, severe, severe, severe, severe, severe, severe, severe, throwing, throwing, warning, warning, warning, warning, warning, warning, warning, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, isLoggable, log, logisSevere, severe, severe, severeisWarning, warning, warning, warninginfo, info, info, isInfoconfig, isConfigfine, fine, fine, isFineentering, entering, exiting, exiting, finer, finer, finer, isFiner, throwingfinest, finest, finest, isFinestprotected DefaultContextualLogger(java.lang.String loggerName,
                       java.lang.String resourceBundle)
public void config(java.lang.String message,
          java.lang.Throwable error)
ConfigLoggerconfig in interface ConfigLoggermessage - The message to be loggederror - Error which to include relevant details from. It is up to
 each implementation to decide which details are relevant.public void log(java.util.logging.Level level,
       java.lang.Throwable error)
This implementation will use the error message as the log message. In other
 words, this will be equivalent to log(level, error.getMessage(), error)
log in interface BasicLoggerlevel - error - public void config(java.lang.Throwable error)
ConfigLoggerconfig in interface ConfigLoggererror - Error which to derive the log message and also include relevant
 details from. It is up to each implementation to decide the log message and
 which details are relevant to include.public void close()
For this particular implementations, this method is a no-op.
close in interface BasicContextualLogger