Class Log4J2LoggingSystem.Factory
java.lang.Object
org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.Factory
- All Implemented Interfaces:
LoggingSystemFactory
- Enclosing class:
- Log4J2LoggingSystem
@Order(2147483647)
public static class Log4J2LoggingSystem.Factory
extends Object
implements LoggingSystemFactory
LoggingSystemFactory
that returns Log4J2LoggingSystem
if possible.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLoggingSystem
(ClassLoader classLoader) Return a logging system implementation ornull
if no logging system is available.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getLoggingSystem
Description copied from interface:LoggingSystemFactory
Return a logging system implementation ornull
if no logging system is available.- Specified by:
getLoggingSystem
in interfaceLoggingSystemFactory
- Parameters:
classLoader
- the class loader to use- Returns:
- a logging system
-