Class EclipseLinkSLF4JLogger

  • All Implemented Interfaces:
    Cloneable, org.eclipse.persistence.logging.SessionLog

    public class EclipseLinkSLF4JLogger
    extends org.eclipse.persistence.logging.AbstractSessionLog
    A custom EclipseLink logged to integrate with the logging abstraction we use, SLF4J
    • 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, shouldDisplayData, 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, 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, THREAD, TRANSACTION, WARNING, WARNING_LABEL, WEAVER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void log​(org.eclipse.persistence.logging.SessionLogEntry log)  
      • 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, 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, shouldLog, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, throwing, translateLoggingLevelToString, translateStringToLoggingLevel, warning
    • Constructor Detail

      • EclipseLinkSLF4JLogger

        public EclipseLinkSLF4JLogger()
    • Method Detail

      • log

        public void log​(org.eclipse.persistence.logging.SessionLogEntry log)
        Specified by:
        log in interface org.eclipse.persistence.logging.SessionLog
        Specified by:
        log in class org.eclipse.persistence.logging.AbstractSessionLog