|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectliquibase.logging.core.AbstractLogger
liquibase.ext.logging.slf4j.Slf4jLogger
public class Slf4jLogger
An implementation of the Liquibase Logger that sends log output to SLF4J.
| Field Summary |
|---|
| Fields inherited from interface liquibase.servicelocator.PrioritizedService |
|---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
| Constructor Summary | |
|---|---|
Slf4jLogger()
|
|
| Method Summary | |
|---|---|
void |
debug(String message)
Log a debug message. |
void |
debug(String message,
Throwable throwable)
Log a debug message. |
int |
getPriority()
Gets the logger priority for this logger. |
void |
info(String message)
Log an info message. |
void |
info(String message,
Throwable throwable)
Log an info message. |
void |
setLogLevel(String logLevel,
String logFile)
This method does nothing in this implementation |
void |
setName(String name)
Takes the given logger name argument and associates it with a SLF4J logger. |
void |
severe(String message)
Logs an severe message. |
void |
severe(String message,
Throwable throwable)
Logs a severe message. |
void |
warning(String message)
Logs a warning message. |
void |
warning(String message,
Throwable throwable)
Logs a warning message. |
| Methods inherited from class liquibase.logging.core.AbstractLogger |
|---|
getLogLevel, setLogLevel, setLogLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Slf4jLogger()
| Method Detail |
|---|
public void setName(String name)
name - The name of the logger.
public void setLogLevel(String logLevel,
String logFile)
logLevel - Log levellogFile - Log filepublic void severe(String message)
Logger.error(String).
message - The message to log.
public void severe(String message,
Throwable throwable)
Logger.error(String, Throwable).
message - The message to logthrowable - The exception to log.public void warning(String message)
Logger.warn(String)
message - The message to log.
public void warning(String message,
Throwable throwable)
Logger.warn(String, Throwable).
message - The message to log.throwable - The exception to log.public void info(String message)
Logger.info(String).
message - The message to log.
public void info(String message,
Throwable throwable)
Logger.info(String, Throwable).
message - The message to log.throwable - The exception to log.public void debug(String message)
Logger.debug(String).
message - The message to log.
public void debug(String message,
Throwable throwable)
Logger.debug(String, Throwable).
message - The message to log.throwable - The exception to log.public int getPriority()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||