Example usage for org.apache.commons.logging LogFactory getLog

List of usage examples for org.apache.commons.logging LogFactory getLog

Introduction

In this page you can find the example usage for org.apache.commons.logging LogFactory getLog.

Prototype

public static Log getLog(String name) 

Source Link

Document

Convenience method to return a named logger.

Usage

From source file:fr.aliasource.webmail.indexing.IndexingActivator.java

/**
 * The constructor
 */
public IndexingActivator() {
    logger = LogFactory.getLog(getClass());
}

From source file:com.mindquarry.desktop.model.team.TeamListTransformer.java

public TeamListTransformer(String url, String login, String password) {
    this.url = url;
    this.login = login;
    this.password = password;
    log = LogFactory.getLog(TeamListTransformer.class);
}

From source file:edu.harvard.hms.dbmi.bd2k.irct.ws.rs.resultconverter.XSLXTabularDataConverter.java

public XSLXTabularDataConverter() {
    log = LogFactory.getLog("XSLX Tabular Data Converter");
}

From source file:edu.harvard.hms.dbmi.bd2k.irct.ws.rs.resultconverter.JSONTabularDataConverter.java

public JSONTabularDataConverter() {
    log = LogFactory.getLog("JSON Tabular Data Converter");
}

From source file:com.adaptris.http.MessageImp.java

protected MessageImp() {
    logR = LogFactory.getLog(this.getClass());
    output = new ByteArrayOutputStream();
    header = new HttpHeaders();
    try {//from   ww  w  .  j  ava  2s .c  o m
        md5 = MessageDigest.getInstance("MD5");
    } catch (Exception ignoredIntentionally) {
        ;
    }
}

From source file:com.lfv.lanzius.application.EventSwitchController.java

public EventSwitchController(ViewEventHandler handler, String eventDeviceName) {
    log = LogFactory.getLog(getClass());
    this.handler = handler;

    file = new File(eventDeviceName);
}

From source file:com.jpeterson.util.http.RangeInputStreamTest.java

/**
 * Create the test case//  w w w .ja  va  2 s  . com
 * 
 * @param testName
 *            name of the test case
 */
public RangeInputStreamTest(String testName) {
    super(testName);

    logger = LogFactory.getLog(this.getClass());
    logger.debug("RangeInputStreamTest");
}

From source file:br.com.uol.pagseguro.api.utils.logging.CommonsLoggerFactory.java

/**
 * Constructs the logger by class//from w w w.ja  v  a  2  s  .  c om
 *
 * @param clazz Class
 * @return Instance of commons log
 */
@Override
protected Log doGetLog(Class<?> clazz) {
    return new CommonsLog(LogFactory.getLog(clazz));
}

From source file:com.alfaariss.oa.authentication.password.encode.BinaryPwdEncoder.java

/**
 * Constructor.
 * 
 */
public BinaryPwdEncoder() {

    _systemLogger = LogFactory.getLog(this.getClass());
}

From source file:com.adaptris.http.HttpHeaders.java

/** @see Object#Object()
 *///from ww  w  .  j  av  a 2 s . c  o m
public HttpHeaders() {
    if (logR == null) {
        logR = LogFactory.getLog(this.getClass());
    }
    headers = new InternetHeaders();
}