liquibase.integration.ant.logging
Class AntTaskLogger
java.lang.Object
liquibase.logging.core.AbstractLogger
liquibase.integration.ant.logging.AntTaskLogger
- All Implemented Interfaces:
- Logger, PrioritizedService
public final class AntTaskLogger
- extends AbstractLogger
An implementation of the Liquibase logger that logs to the given Ant task.
Field Summary |
static int |
PRIORITY
The priority of this logger. |
Constructor Summary |
AntTaskLogger(org.apache.tools.ant.Task task)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIORITY
public static final int PRIORITY
- The priority of this logger.
- See Also:
- Constant Field Values
AntTaskLogger
public AntTaskLogger(org.apache.tools.ant.Task task)
setName
public void setName(String name)
setLogLevel
public void setLogLevel(String logLevel,
String logFile)
severe
public void severe(String message)
severe
public void severe(String message,
Throwable e)
warning
public void warning(String message)
warning
public void warning(String message,
Throwable e)
info
public void info(String message)
info
public void info(String message,
Throwable e)
debug
public void debug(String message)
debug
public void debug(String message,
Throwable e)
getPriority
public int getPriority()
Copyright © 2016 Liquibase.org. All rights reserved.