|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.logging.LogRecord
oracle.adf.share.logging.internal.diagnostic.ADFLogRecord
public class ADFLogRecord
ADF diagnostic logging log record
| Constructor Summary | |
|---|---|
ADFLogRecord(java.lang.Class logger,
java.util.logging.Level level,
java.lang.String msg)
Constructor. |
|
ADFLogRecord(java.util.logging.Level level,
java.lang.String msg)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getSourceClassName()
Get source class name |
java.lang.String |
getSourceMethodName()
Get source method name |
java.lang.Throwable |
getThrown()
|
void |
setSourceClassName(java.lang.String sourceClassName)
Set source class name |
void |
setSourceMethodName(java.lang.String sourceMethodName)
Set source method name |
void |
setThrown(java.lang.Throwable thrown)
|
| Methods inherited from class java.util.logging.LogRecord |
|---|
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getThreadID, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setThreadID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ADFLogRecord(java.util.logging.Level level,
java.lang.String msg)
level - the log record levelmsg - the message to be logged
public ADFLogRecord(java.lang.Class logger,
java.util.logging.Level level,
java.lang.String msg)
This constructor uses the provided logger to determine what class to look for when walking the stack to determine the SRC_CLASS and SRC_METHOD attributes.
This allows ADFLogger to be subclassed and retain the ability to determine the real source class and method.
logger - the logger creating the log record.level - the log record levelmsg - the message to be logged| Method Detail |
|---|
public java.lang.String getSourceClassName()
getSourceClassName in class java.util.logging.LogRecordpublic void setSourceClassName(java.lang.String sourceClassName)
setSourceClassName in class java.util.logging.LogRecordsourceClassName - source class namepublic java.lang.String getSourceMethodName()
getSourceMethodName in class java.util.logging.LogRecordpublic void setSourceMethodName(java.lang.String sourceMethodName)
setSourceMethodName in class java.util.logging.LogRecordsourceMethodName - source method namepublic void setThrown(java.lang.Throwable thrown)
setThrown in class java.util.logging.LogRecordpublic java.lang.Throwable getThrown()
getThrown in class java.util.logging.LogRecord
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||