Package org.eclipse.persistence.logging
Class EclipseLinkLogRecord
- java.lang.Object
-
- java.util.logging.LogRecord
-
- org.eclipse.persistence.logging.EclipseLinkLogRecord
-
- All Implemented Interfaces:
Serializable
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 Modifier and Type Method Description org.eclipse.persistence.internal.databaseaccess.Accessor
getConnection()
String
getSessionString()
void
setConnection(org.eclipse.persistence.internal.databaseaccess.Accessor connection)
void
setSessionString(String sessionString)
void
setShouldLogExceptionStackTrace(boolean shouldLogExceptionStackTrace)
void
setShouldPrintDate(boolean shouldPrintDate)
void
setShouldPrintThread(boolean shouldPrintThread)
boolean
shouldLogExceptionStackTrace()
boolean
shouldPrintDate()
boolean
shouldPrintThread()
-
Methods inherited from class java.util.logging.LogRecord
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, 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
public org.eclipse.persistence.internal.databaseaccess.Accessor getConnection()
-
setConnection
public void setConnection(org.eclipse.persistence.internal.databaseaccess.Accessor connection)
-
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)
-
-