- java.lang.Object
-
- java.util.logging.LogRecord
-
- org.eclipse.persistence.logging.jul.EclipseLinkLogRecord
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EclipseLinkLogRecord
public class EclipseLinkLogRecord extends LogRecord
INTERNAL:Used to include TopLink's own logging properties that will be formatted by a TopLink Formatter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EclipseLinkLogRecord(Level level, String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.eclipse.persistence.internal.databaseaccess.AccessorgetConnection()Deprecated, for removal: This API element is subject to removal in a future version.UsegetConnectionId()insteadIntegergetConnectionId()Return the datasource connection identifier.StringgetSessionString()voidsetConnection(org.eclipse.persistence.internal.databaseaccess.Accessor connection)Deprecated, for removal: This API element is subject to removal in a future version.UsegetConnectionId()insteadvoidsetConnectionId(Integer connectionId)Set the datasource connection identifier.voidsetSessionString(String sessionString)voidsetShouldLogExceptionStackTrace(boolean shouldLogExceptionStackTrace)voidsetShouldPrintDate(boolean shouldPrintDate)voidsetShouldPrintThread(boolean shouldPrintThread)booleanshouldLogExceptionStackTrace()booleanshouldPrintDate()booleanshouldPrintThread()-
Methods inherited from class java.util.logging.LogRecord
getInstant, getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, setInstant, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setSourceClassName, setSourceMethodName, setThreadID, setThrown
-
-
-
-
Method Detail
-
getSessionString
public String getSessionString()
-
setSessionString
public void setSessionString(String sessionString)
-
getConnection
@Deprecated(forRemoval=true, since="4.0.9") public org.eclipse.persistence.internal.databaseaccess.Accessor getConnection()
Deprecated, for removal: This API element is subject to removal in a future version.UsegetConnectionId()insteadReturn the datasource connection accessor.- Returns:
- the connection accessor
-
setConnection
@Deprecated(forRemoval=true, since="4.0.9") public void setConnection(org.eclipse.persistence.internal.databaseaccess.Accessor connection)
Deprecated, for removal: This API element is subject to removal in a future version.UsegetConnectionId()insteadSet the datasource connection accessor.- Parameters:
connection- the connection accessor
-
getConnectionId
public Integer getConnectionId()
Return the datasource connection identifier.- Returns:
- the datasource connection identifier
-
setConnectionId
public void setConnectionId(Integer connectionId)
Set the datasource connection identifier.- Parameters:
connectionId- the datasource connection identifier
-
shouldLogExceptionStackTrace
public boolean shouldLogExceptionStackTrace()
-
setShouldLogExceptionStackTrace
public void setShouldLogExceptionStackTrace(boolean shouldLogExceptionStackTrace)
-
shouldPrintDate
public boolean shouldPrintDate()
-
setShouldPrintDate
public void setShouldPrintDate(boolean shouldPrintDate)
-
shouldPrintThread
public boolean shouldPrintThread()
-
setShouldPrintThread
public void setShouldPrintThread(boolean shouldPrintThread)
-
-