Groovy Documentation

org.gradle.logging
Class IvyLoggingAdaper

java.lang.Object
  org.apache.ivy.util.AbstractMessageLogger
      org.gradle.logging.IvyLoggingAdaper

class IvyLoggingAdaper
extends org.apache.ivy.util.AbstractMessageLogger

This class is for integrating Ivy log statements into our logging system. We don't want to have a dependency on logback. This would be bad for embedded usage. We only want one on slf4j. But slf4j has no constants for log levels. As we want to avoid the execution of if statements for each Ivy request, we use Map which delegates Ivy log statements to Sl4j action classes.

author:
Hans Dockter


Constructor Summary
IvyLoggingAdaper()

 
Method Summary
void doEndProgress(java.lang.String msg)

void doProgress()

void log(java.lang.String msg, int level)

void rawlog(java.lang.String msg, int level)

 
Methods inherited from class org.apache.ivy.util.AbstractMessageLogger
rawinfo, getProblems, getWarns, getErrors, clearProblems, sumupProblems, progress, endProgress, endProgress, isShowProgress, setShowProgress, debug, error, info, verbose, warn, deprecated, hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll, rawlog, log
 
Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll
 

Constructor Detail

IvyLoggingAdaper

IvyLoggingAdaper()


 
Method Detail

doEndProgress

public void doEndProgress(java.lang.String msg)


doProgress

public void doProgress()


log

public void log(java.lang.String msg, int level)


rawlog

public void rawlog(java.lang.String msg, int level)


 

Groovy Documentation