Class OracleLogRecord

java.lang.Object
java.util.logging.LogRecord
oracle.jdbc.diagnostics.OracleLogRecord
All Implemented Interfaces:
Serializable

public class OracleLogRecord extends LogRecord
An extended LogRecord, which provides additional information captured in the trace records.
See Also:
  • Constructor Details

    • OracleLogRecord

      public OracleLogRecord(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.
      Parameters:
      level -
      attributes -
  • Method Details

    • setTraceAttributes

      public void setTraceAttributes(oracle.jdbc.diagnostics.ImmutableTraceAttributes attributes)
    • getTraceAttributes

      public oracle.jdbc.diagnostics.TraceAttributes getTraceAttributes()
    • setThreadName

      public void setThreadName(String threadName)
      Set the thread name of this logging event.
    • getThreadName

      public String getThreadName()
      Get the thread name of this logging event.
    • getSecurityLabel

      public oracle.jdbc.diagnostics.SecurityLabel getSecurityLabel()
      Get the SecurityLabel of this logging event.