liquibase.integration.ant.logging
Class AntTaskLogger

java.lang.Object
  extended by liquibase.logging.core.AbstractLogger
      extended by 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.
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
AntTaskLogger(org.apache.tools.ant.Task task)
           
 
Method Summary
 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)
           
 
Methods inherited from class liquibase.logging.core.AbstractLogger
buildMessage, getLogLevel, setChangeLog, setChangeSet, setLogLevel, setLogLevel, toLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIORITY

public static final int PRIORITY
The priority of this logger.

See Also:
Constant Field Values
Constructor Detail

AntTaskLogger

public AntTaskLogger(org.apache.tools.ant.Task task)
Method Detail

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.