com.foglyn.fogbugz.Logging.java Source code

Java tutorial

Introduction

Here is the source code for com.foglyn.fogbugz.Logging.java

Source

/*******************************************************************************
 * Copyright (c) 2008,2011 Peter Stibrany
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Peter Stibrany (pstibrany@gmail.com) - initial API and implementation
 *******************************************************************************/

package com.foglyn.fogbugz;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

class Logging {
    private final static String LOGGER_PREFIX = "foglyn.fogbugz.";

    static Log getLogger(String name) {
        return LogFactory.getLog(LOGGER_PREFIX + name);
    }
}