|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.share.logging.ADFLogger
oracle.adfinternal.model.logging.contextual.logger.DefaultContextualLogger
public class DefaultContextualLogger
Default implementation of interface ContextualLogger.
Field Summary |
---|
Fields inherited from class oracle.adf.share.logging.ADFLogger |
---|
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_WEB_REQUEST, ENTERING_TAG, ENTERRING_TAG, ERROR, EXITING_TAG, INTERNAL_ERROR, NOTIFICATION, TRACE, WARNING |
Fields inherited from interface oracle.adfinternal.model.logging.logger.SevereLogger |
---|
LEVEL |
Fields inherited from interface oracle.adfinternal.model.logging.logger.WarningLogger |
---|
LEVEL |
Fields inherited from interface oracle.adfinternal.model.logging.logger.InfoLogger |
---|
LEVEL |
Fields inherited from interface oracle.adfinternal.model.logging.logger.ConfigLogger |
---|
LEVEL |
Fields inherited from interface oracle.adfinternal.model.logging.logger.FineLogger |
---|
LEVEL |
Fields inherited from interface oracle.adfinternal.model.logging.logger.FinerLogger |
---|
LEVEL |
Fields inherited from interface oracle.adfinternal.model.logging.logger.FinestLogger |
---|
LEVEL |
Constructor Summary | |
---|---|
protected |
DefaultContextualLogger(java.lang.String loggerName, java.lang.String resourceBundle) |
Method Summary | |
---|---|
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. |
Methods inherited from class oracle.adf.share.logging.ADFLogger |
---|
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, LogRelativeADFRequest, removeHandler, setECID, setFilter, setLevel, setParent, setUseParentHandlers, severe, severe, severe, severe, severe, severe, severe, severe, throwing, throwing, warning, warning, warning, warning, warning, warning, warning, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.adfinternal.model.logging.logger.BasicLogger |
---|
getName, isLoggable, log, log |
Methods inherited from interface oracle.adfinternal.model.logging.logger.SevereLogger |
---|
isSevere, severe, severe, severe |
Methods inherited from interface oracle.adfinternal.model.logging.logger.WarningLogger |
---|
isWarning, warning, warning, warning |
Methods inherited from interface oracle.adfinternal.model.logging.logger.InfoLogger |
---|
info, info, info, isInfo |
Methods inherited from interface oracle.adfinternal.model.logging.logger.ConfigLogger |
---|
config, isConfig |
Methods inherited from interface oracle.adfinternal.model.logging.logger.FineLogger |
---|
fine, fine, fine, isFine |
Methods inherited from interface oracle.adfinternal.model.logging.logger.FinerLogger |
---|
entering, entering, exiting, exiting, finer, finer, finer, isFiner, throwing |
Methods inherited from interface oracle.adfinternal.model.logging.logger.FinestLogger |
---|
finest, finest, finest, isFinest |
Constructor Detail |
---|
protected DefaultContextualLogger(java.lang.String loggerName, java.lang.String resourceBundle)
Method Detail |
---|
public void config(java.lang.String message, java.lang.Throwable error)
ConfigLogger
config
in interface ConfigLogger
message
- 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 BasicLogger
level
-error
-public void config(java.lang.Throwable error)
ConfigLogger
config
in interface ConfigLogger
error
- 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
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |