类 CommonsLoggingLiquibaseLogger
- java.lang.Object
- liquibase.logging.core.AbstractLogger
- org.springframework.boot.liquibase.CommonsLoggingLiquibaseLogger
- 所有已实现的接口:
liquibase.logging.Logger
,liquibase.servicelocator.PrioritizedService
public class CommonsLoggingLiquibaseLogger extends liquibase.logging.core.AbstractLogger
LiquibaseLogger
that delegates to an Apache CommonsLog
.- 从以下版本开始:
- 1.2.0
字段概要
字段 修饰符和类型 字段 说明 static int
PRIORITY
The priority for theCommonsLoggingLiquibaseLogger
.
构造器概要
构造器 构造器 说明 CommonsLoggingLiquibaseLogger()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected org.apache.commons.logging.Log
createLogger(String name)
Factory method used to create the logger.void
debug(String message)
void
debug(String message, Throwable e)
int
getPriority()
void
info(String message)
void
info(String message, Throwable e)
void
setLogLevel(String logLevel, String logFile)
void
setName(String name)
void
severe(String message)
void
severe(String message, Throwable e)
void
warning(String message)
void
warning(String message, Throwable e)
字段详细资料
PRIORITY
public static final int PRIORITY
The priority for theCommonsLoggingLiquibaseLogger
.- 另请参阅:
- 常量字段值
构造器详细资料
CommonsLoggingLiquibaseLogger
public CommonsLoggingLiquibaseLogger()
方法详细资料
createLogger
protected org.apache.commons.logging.Log createLogger(String name)
Factory method used to create the logger.- 参数:
name
- the name of the logger- 返回:
- a
Log
instance
setLogLevel
public void setLogLevel(String logLevel, String logFile)
getPriority
public int getPriority()