|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.logging.AbstractSessionLog org.eclipse.persistence.platform.server.ServerLog
public class ServerLog
Basic logging class that provides framework for integration with the application server log. This class is used when messages need to be logged through an application server, e.g. OC4J.
SessionLog
,
AbstractSessionLog
,
SessionLogEntry
,
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.logging.AbstractSessionLog |
---|
CONFIG_PREFIX, CONNECTION_STRING, DATE_FORMAT_STR, dateFormat, defaultLog, FINE_PREFIX, FINER_PREFIX, FINEST_PREFIX, INFO_PREFIX, level, session, SEVERE_PREFIX, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, THREAD_STRING, TOPLINK_PREFIX, WARNING_PREFIX, writer |
Fields inherited from interface org.eclipse.persistence.logging.SessionLog |
---|
ALL, ALL_LABEL, CACHE, CONFIG, CONFIG_LABEL, CONNECTION, DMS, EJB, EJB_OR_METADATA, EVENT, FINE, FINE_LABEL, FINER, FINER_LABEL, FINEST, FINEST_LABEL, INFO, INFO_LABEL, loggerCatagories, OFF, OFF_LABEL, PROPAGATION, PROPERTIES, QUERY, SEQUENCING, SERVER, SEVERE, SEVERE_LABEL, SQL, TRANSACTION, WARNING, WARNING_LABEL, WEAVER |
Constructor Summary | |
---|---|
ServerLog()
PUBLIC: Create and return a new ServerLog. |
Method Summary | |
---|---|
protected void |
basicLog(int level,
java.lang.String message)
Log message to a writer by default. |
void |
log(SessionLogEntry entry)
PUBLIC: Log a SessionLogEntry |
Methods inherited from class org.eclipse.persistence.logging.AbstractSessionLog |
---|
clone, config, fine, finer, finest, formatMessage, getConnectionString, getDateFormat, getDateString, getDefaultLoggingLevel, getLevel, getLevel, getLevelString, getLog, getSession, getSessionString, getSupplementDetailString, getThreadString, getWriter, info, isOff, log, log, log, log, log, log, logThrowable, printPrefixString, setDateFormat, setLevel, setLevel, setLog, setSession, setShouldLogExceptionStackTrace, setShouldPrintConnection, setShouldPrintDate, setShouldPrintSession, setShouldPrintThread, setWriter, setWriter, severe, shouldLog, shouldLog, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, throwing, translateLoggingLevelToString, translateStringToLoggingLevel, warning |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerLog()
Create and return a new ServerLog.
Method Detail |
---|
public void log(SessionLogEntry entry)
Log a SessionLogEntry
log
in interface SessionLog
log
in class AbstractSessionLog
entry
- SessionLogEntry that holds all the information for a TopLink logging event
protected void basicLog(int level, java.lang.String message)
Log message to a writer by default. It needs to be overridden by the subclasses.
level
- the log request level
message
- the formatted string message
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |