org.springframework.boot.logging

Class Slf4JLoggingSystem

    • Constructor Detail

      • Slf4JLoggingSystem

        public Slf4JLoggingSystem(java.lang.ClassLoader classLoader)
    • Method Detail

      • cleanUp

        public void cleanUp()
        Description copied from class: LoggingSystem
        Clean up the logging system. The default implementation does nothing. Subclasses should override this method to perform any logging system-specific cleanup.
        Overrides:
        cleanUp in class LoggingSystem
      • loadConfiguration

        protected void loadConfiguration(LoggingInitializationContext initializationContext,
                                         java.lang.String location,
                                         LogFile logFile)
        Description copied from class: AbstractLoggingSystem
        Load a specific configuration.
        Specified by:
        loadConfiguration in class AbstractLoggingSystem
        Parameters:
        initializationContext - the logging initialization context
        location - the location of the configuration to load (never null)
        logFile - the file to load or null if no log file is to be written
      • isBridgeJulIntoSlf4j

        protected final boolean isBridgeJulIntoSlf4j()
        Return whether bridging JUL into SLF4J or not.
        Returns:
        whether bridging JUL into SLF4J or not
        Since:
        2.0.4
      • isBridgeHandlerAvailable

        protected final boolean isBridgeHandlerAvailable()