FileDocCategorySizeDatePackage
TopLinkLogRecord.javaAPI DocGlassfish v2 API3623Tue May 22 16:54:46 BST 2007oracle.toplink.essentials.logging

TopLinkLogRecord

public class TopLinkLogRecord extends LogRecord
INTERNAL:

Used to include TopLink's own logging properties that will be formatted by a TopLink Formatter

Fields Summary
private String
sessionString
private Accessor
connection
private boolean
shouldLogExceptionStackTrace
private boolean
shouldPrintDate
private boolean
shouldPrintThread
Constructors Summary
public TopLinkLogRecord(Level level, String msg)

        super(level, msg);
    
Methods Summary
public oracle.toplink.essentials.internal.databaseaccess.AccessorgetConnection()

        return connection;
    
public java.lang.StringgetSessionString()

        return sessionString;
    
public voidsetConnection(oracle.toplink.essentials.internal.databaseaccess.Accessor connection)

        this.connection = connection;
    
public voidsetSessionString(java.lang.String sessionString)

        this.sessionString = sessionString;
    
public voidsetShouldLogExceptionStackTrace(boolean shouldLogExceptionStackTrace)

        this.shouldLogExceptionStackTrace = shouldLogExceptionStackTrace;
    
public voidsetShouldPrintDate(boolean shouldPrintDate)

        this.shouldPrintDate = shouldPrintDate;
    
public voidsetShouldPrintThread(boolean shouldPrintThread)

        this.shouldPrintThread = shouldPrintThread;
    
public booleanshouldLogExceptionStackTrace()

        return shouldLogExceptionStackTrace;
    
public booleanshouldPrintDate()

        return shouldPrintDate;
    
public booleanshouldPrintThread()

        return shouldPrintThread;