Package org.springframework.boot.logging
Interface LoggingSystemFactory
- All Known Implementing Classes:
JavaLoggingSystem.Factory
,Log4J2LoggingSystem.Factory
,LogbackLoggingSystem.Factory
public interface LoggingSystemFactory
Factory class used by
LoggingSystem.get(ClassLoader)
to find an actual
implementation.- Since:
- 2.4.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingSystemFactory
Return aLoggingSystemFactory
backed byspring.factories
.getLoggingSystem
(ClassLoader classLoader) Return a logging system implementation ornull
if no logging system is available.
-
Method Details
-
getLoggingSystem
Return a logging system implementation ornull
if no logging system is available.- Parameters:
classLoader
- the class loader to use- Returns:
- a logging system
-
fromSpringFactories
Return aLoggingSystemFactory
backed byspring.factories
.- Returns:
- a
LoggingSystemFactory
instance
-