Package org.apache.qpid.protonj2.logging
Class Slf4JLoggerFactory
java.lang.Object
org.apache.qpid.protonj2.logging.ProtonLoggerFactory
org.apache.qpid.protonj2.logging.Slf4JLoggerFactory
Slf4j adapter class used to proxy calls to the slf4j logger
 factory and create ProtonLogger wrappers around the Loggers
 for that library.
- 
Method SummaryModifier and TypeMethodDescriptionprotected ProtonLoggercreateLoggerWrapper(String name) static ProtonLoggerFactoryStatic factory method that will create the correct Slf4j logging factory and return it or throw anNoClassDefFoundErrorif none found.Methods inherited from class org.apache.qpid.protonj2.logging.ProtonLoggerFactorygetLogger, getLogger, getLoggerFactory, setLoggerFactory
- 
Method Details- 
findLoggerFactoryStatic factory method that will create the correct Slf4j logging factory and return it or throw anNoClassDefFoundErrorif none found.- Returns:
- a correct proton based logger factory wrapper.
 
- 
createLoggerWrapper- Specified by:
- createLoggerWrapperin class- ProtonLoggerFactory
 
 
-