|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
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 oracle.toplink.logging.DefaultSessionLog
public class DefaultSessionLog
Purpose: Default log used for the session when message logging is enabled. The session can log information such as,
SessionLog
,
AbstractSessionLog
,
Serialized FormField Summary |
---|
Fields inherited from interface oracle.toplink.logging.SessionLog |
---|
ALL, ALL_LABEL, CONFIG, CONFIG_LABEL, FINE, FINE_LABEL, FINER, FINER_LABEL, FINEST, FINEST_LABEL, INFO, INFO_LABEL, OFF_LABEL, SEVERE, SEVERE_LABEL, WARNING, WARNING_LABEL |
Fields inherited from interface oracle.toplink.sessions.SessionLog |
---|
CACHE, CONNECTION, DMS, EJB, EJB_OR_METADATA, EVENT, loggerCatagories, OFF, PROPAGATION, PROPERTIES, QUERY, SEQUENCING, SERVER, SQL, TRANSACTION, WEAVER |
Constructor Summary | |
---|---|
DefaultSessionLog()
Create a new default session log. |
|
DefaultSessionLog(java.io.Writer writer)
Create a new default session log for the given writer. |
Method Summary | |
---|---|
java.lang.String |
getWriterFilename()
For the given writer, return it's associated filename. |
void |
log(SessionLogEntry entry)
Log the entry. |
void |
setWriter(java.lang.String aFileName)
Set the writer that will receive the formatted log entries for a file name. |
Methods inherited from class oracle.toplink.sessions.DefaultSessionLog |
---|
dontLogDebug, dontLogExceptions, dontLogExceptionStackTrace, dontPrintConnection, dontPrintDate, dontPrintSession, dontPrintThread, getLevel, logDebug, logExceptions, logExceptionStackTrace, printConnection, printDate, printSession, printThread, setLevel, shouldLog |
Methods inherited from class oracle.toplink.logging.AbstractSessionLog |
---|
config, fine, finer, finest, getDateFormat, getDefaultLoggingLevel, getLevel, getLevelString, getLog, getSession, getWriter, info, log, log, log, log, log, log, log, logThrowable, setDateFormat, setLevel, setLog, setSession, setShouldLogDebug, setShouldLogExceptions, setShouldLogExceptionStackTrace, setShouldPrintConnection, setShouldPrintDate, setShouldPrintSession, setShouldPrintThread, setWriter, setWriter, severe, 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 log(SessionLogEntry entry)
log
in interface SessionLog
log
in class DefaultSessionLog
entry
- oracle.toplink.sessions.LogEntrypublic void setWriter(java.lang.String aFileName)
setWriter
in class DefaultSessionLog
public java.lang.String getWriterFilename()
getWriterFilename
in class DefaultSessionLog
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |