org.springframework.boot.liquibase

Class CommonsLoggingLiquibaseLogger

  • java.lang.Object
    • liquibase.logging.core.AbstractLogger
      • org.springframework.boot.liquibase.CommonsLoggingLiquibaseLogger
  • All Implemented Interfaces:
    liquibase.logging.Logger, liquibase.servicelocator.PrioritizedService


    public class CommonsLoggingLiquibaseLogger
    extends liquibase.logging.core.AbstractLogger
    Liquibase Logger that delegates to an Apache Commons Log.
    Since:
    1.2.0
    Author:
    Michael Cramer, Phillip Webb, Andy Wilkinson
    • Constructor Detail

      • CommonsLoggingLiquibaseLogger

        public CommonsLoggingLiquibaseLogger()
    • Method Detail

      • setName

        public void setName(String name)
      • createLogger

        protected Log createLogger(String name)
        Factory method used to create the logger.
        Parameters:
        name - the name of the logger
        Returns:
        a Log instance
      • setLogLevel

        public void setLogLevel(String logLevel,
                                String logFile)
      • severe

        public void severe(String message)
      • warning

        public void warning(String message)
      • info

        public void info(String message)
      • debug

        public void debug(String message)
      • getPriority

        public int getPriority()