public class ServerLog extends AbstractSessionLog
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,
ALL, ALL_LABEL, CACHE, CONFIG, CONFIG_LABEL, CONNECTION, DDL, DMS, EJB, EJB_OR_METADATA, EVENT, FINE, FINE_LABEL, FINER, FINER_LABEL, FINEST, FINEST_LABEL, INFO, INFO_LABEL, JPA, JPARS, loggerCatagories, METADATA, METAMODEL, MONITORING, OFF, OFF_LABEL, PROPAGATION, PROPERTIES, QUERY, SEQUENCING, SERVER, SEVERE, SEVERE_LABEL, SQL, TRANSACTION, WARNING, WARNING_LABEL, WEAVER| Constructor and Description |
|---|
ServerLog()
PUBLIC: Create and return a new ServerLog.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(SessionLogEntry entry)
PUBLIC: Log a SessionLogEntry
|
clone, config, fine, finer, finest, getDateFormat, getDefaultLoggingLevel, getLevel, getLevel, getLevelString, getLog, getSession, getWriter, info, isOff, log, log, log, log, log, log, log, log, log, log, log, log, log, logThrowable, logThrowable, setDateFormat, setLevel, setLevel, setLog, setSession, setShouldDisplayData, setShouldLogExceptionStackTrace, setShouldPrintConnection, setShouldPrintDate, setShouldPrintSession, setShouldPrintThread, setWriter, setWriter, severe, shouldDisplayData, shouldLog, shouldLog, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, throwing, translateLoggingLevelToString, translateStringToLoggingLevel, warningpublic void log(SessionLogEntry entry)
Log a SessionLogEntry
log in interface SessionLoglog in class AbstractSessionLogentry - SessionLogEntry that holds all the information for a TopLink logging event