|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.logging.AbstractSessionLog
oracle.toplink.sessions.DefaultSessionLog
Deprecated. Please use oracle.toplink.logging.DefaultSessionLog
Purpose: Default log used for the session when message logging is enabled. The session can log information such as,
As well information about the message can be logged such as,
SessionLog
, DefaultSessionLog
, Session.logMessage(String)
, Serialized FormField Summary |
Fields inherited from interface oracle.toplink.logging.SessionLog |
ALL, CACHE, CONFIG, CONNECTION, DMS, EJB, EJB_ANNOTATION, EVENT, FINE, FINER, FINEST, INFO, OFF, PROPAGATION, QUERY, SEQUENCING, SEVERE, SQL, TRANSACTION, WARNING, WEAVER |
Constructor Summary | |
DefaultSessionLog() Deprecated. PUBLIC: Create a new default session log. |
|
DefaultSessionLog(java.io.Writer writer) Deprecated. PUBLIC: Create a new default session log for the given writer. |
Method Summary | |
void |
dontLogDebug() Deprecated. replaced by level |
void |
dontLogExceptions() Deprecated. replaced by level |
void |
dontLogExceptionStackTrace() Deprecated. Stack trace is logged at FINER level |
void |
dontPrintConnection() Deprecated. Connection is always printed |
void |
dontPrintDate() Deprecated. Date is always printed |
void |
dontPrintSession() Deprecated. Session is always printed |
void |
dontPrintThread() Deprecated. Thread is logged at FINE or less level |
java.lang.String |
getWriterFilename() Deprecated. PUBLIC: For the given writer, return it's associated filename. |
void |
log(SessionLogEntry entry) Deprecated. PUBLIC: Log the entry. |
void |
logDebug() Deprecated. replaced by level |
void |
logExceptions() Deprecated. replaced by level |
void |
logExceptionStackTrace() Deprecated. Stack trace is logged at FINER level |
void |
printConnection() Deprecated. Connection is always printed |
void |
printDate() Deprecated. Date is always printed |
void |
printSession() Deprecated. Session is always printed |
void |
printThread() Deprecated. Thread is logged at FINE or less level |
void |
setWriter(java.lang.String aFileName) Deprecated. PUBLIC: Set the writer that will receive the formatted log entries for a file name. |
Methods inherited from class oracle.toplink.logging.AbstractSessionLog |
config, fine, finer, finest, getDateFormat, getLevel, getLevel, getLog, getSession, getWriter, info, log, log, log, log, log, log, log, logThrowable, setDateFormat, setLevel, setLevel, setLog, setSession, setShouldLogDebug, setShouldLogExceptions, setShouldLogExceptionStackTrace, setShouldPrintConnection, setShouldPrintDate, setShouldPrintSession, setShouldPrintThread, setWriter, severe, shouldLog, shouldLog, shouldLogDebug, shouldLogExceptions, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, throwing, warning |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultSessionLog()
public DefaultSessionLog(java.io.Writer writer)
Method Detail |
public void dontLogDebug()
public void dontLogExceptions()
public void dontLogExceptionStackTrace()
public void dontPrintConnection()
public void dontPrintDate()
public void dontPrintSession()
public void dontPrintThread()
public void log(SessionLogEntry entry)
log
in interface SessionLog
log
in class AbstractSessionLog
public void logDebug()
public void logExceptions()
public void logExceptionStackTrace()
public void printConnection()
public void printDate()
public void printSession()
public void printThread()
public void setWriter(java.lang.String aFileName)
public java.lang.String getWriterFilename()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |