org.springframework.boot.logging.logback

Class LogbackLoggingSystem

    • Constructor Detail

      • LogbackLoggingSystem

        public LogbackLoggingSystem(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
      • initialize

        public void initialize(String configLocation)
        Description copied from class: LoggingSystem
        Initialize the logging system from a logging configuration location.
        Specified by:
        initialize in class LoggingSystem
        Parameters:
        configLocation - a log configuration location
      • setLogLevel

        public void setLogLevel(String loggerName,
                       LogLevel level)
        Description copied from class: LoggingSystem
        Sets the logging level for a given logger.
        Specified by:
        setLogLevel in class LoggingSystem
        Parameters:
        loggerName - the name of the logger to set
        level - the log level

Copyright © 2015 Pivotal Software, Inc.. All rights reserved.