public class CommonsLoggingLiquibaseLogger
extends AbstractLogger
Logger
that delegates to an Apache Commons Log
.Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY |
Constructor and Description |
---|
CommonsLoggingLiquibaseLogger() |
Modifier and Type | Method and Description |
---|---|
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) |
LogLevel |
getLogLevel() |
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) |
public static final int PRIORITY
public void setName(String name)
protected org.apache.commons.logging.Log createLogger(String name)
name
- the name of the loggerLog
instancepublic void severe(String message)
public void warning(String message)
public void info(String message)
public void debug(String message)
public int getPriority()
public LogLevel getLogLevel()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.