Package oracle.jdbc.diagnostics
Class OracleLogRecord
java.lang.Object
java.util.logging.LogRecord
oracle.jdbc.diagnostics.OracleLogRecord
- All Implemented Interfaces:
Serializable
An extended
LogRecord, which provides additional
information captured in the trace records.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOracleLogRecord(Level level, oracle.jdbc.diagnostics.SecurityLabel label, oracle.jdbc.diagnostics.ImmutableTraceAttributes attributes, String msg) Create an OracleLogRecord with a Level and a set of ConnectionAttributes. -
Method Summary
Modifier and TypeMethodDescriptionoracle.jdbc.diagnostics.SecurityLabelGet theSecurityLabelof this logging event.Get the thread name of this logging event.oracle.jdbc.diagnostics.TraceAttributesvoidsetThreadName(String threadName) Set the thread name of this logging event.voidsetTraceAttributes(oracle.jdbc.diagnostics.ImmutableTraceAttributes attributes) Methods inherited from class java.util.logging.LogRecord
getInstant, getLevel, getLoggerName, getLongThreadID, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, setInstant, setLevel, setLoggerName, setLongThreadID, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setSourceClassName, setSourceMethodName, setThreadID, setThrown
-
Constructor Details
-
Method Details
-
setTraceAttributes
public void setTraceAttributes(oracle.jdbc.diagnostics.ImmutableTraceAttributes attributes) -
getTraceAttributes
public oracle.jdbc.diagnostics.TraceAttributes getTraceAttributes() -
setThreadName
Set the thread name of this logging event. -
getThreadName
Get the thread name of this logging event. -
getSecurityLabel
public oracle.jdbc.diagnostics.SecurityLabel getSecurityLabel()Get theSecurityLabelof this logging event.
-