public class EclipseLinkLog
extends org.eclipse.persistence.logging.AbstractSessionLog
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.Integer,ch.qos.logback.classic.Level> |
levels |
protected java.util.Map<java.lang.String,ch.qos.logback.classic.Logger> |
logsCache |
CONFIG_PREFIX, CONNECTION_STRING, DATE_FORMAT_STR, dateFormat, defaultLog, FINE_PREFIX, FINER_PREFIX, FINEST_PREFIX, INFO_PREFIX, level, session, SEVERE_PREFIX, shouldDisplayData, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, THREAD_STRING, TOPLINK_PREFIX, WARNING_PREFIX, writer
ALL, ALL_LABEL, CACHE, CONFIG, CONFIG_LABEL, CONNECTION, DBWS, DDL, DMS, EJB, EJB_OR_METADATA, EVENT, FINE, FINE_LABEL, FINER, FINER_LABEL, FINEST, FINEST_LABEL, INFO, INFO_LABEL, JPA, JPARS, loggerCatagories, METADATA, METAMODEL, MISC, MONITORING, MOXY, OFF, OFF_LABEL, PROCESSOR, PROPAGATION, PROPERTIES, QUERY, SEQUENCING, SERVER, SEVERE, SEVERE_LABEL, SQL, TRANSACTION, WARNING, WARNING_LABEL, WEAVER
Constructor and Description |
---|
EclipseLinkLog() |
Modifier and Type | Method and Description |
---|---|
void |
log(org.eclipse.persistence.logging.SessionLogEntry sessionLogEntry) |
boolean |
shouldLog(int level,
java.lang.String category) |
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, log, log, log, log, log, log, log, logThrowable, logThrowable, printPrefixString, setDateFormat, setLevel, setLevel, setLog, setSession, setShouldDisplayData, setShouldLogExceptionStackTrace, setShouldPrintConnection, setShouldPrintDate, setShouldPrintSession, setShouldPrintThread, setWriter, setWriter, severe, shouldDisplayData, shouldLog, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, throwing, translateLoggingLevelToString, translateStringToLoggingLevel, warning
protected java.util.Map<java.lang.String,ch.qos.logback.classic.Logger> logsCache
protected static final java.util.Map<java.lang.Integer,ch.qos.logback.classic.Level> levels
public void log(org.eclipse.persistence.logging.SessionLogEntry sessionLogEntry)
log
in interface org.eclipse.persistence.logging.SessionLog
log
in class org.eclipse.persistence.logging.AbstractSessionLog
public boolean shouldLog(int level, java.lang.String category)
shouldLog
in interface org.eclipse.persistence.logging.SessionLog
shouldLog
in class org.eclipse.persistence.logging.AbstractSessionLog