All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.picketlink.common.logging.LogFactory Maven / Gradle / Ivy

There is a newer version: 3.0.0.Beta2
Show newest version
package org.picketlink.common.logging;

import org.jboss.logging.Logger;

/**
 * 

Factory that creates {@link Log} instances.

* *

Classes should always prefer to use this class to obtain logger instances.

* * @author Pedro Igor */ public class LogFactory { /** *

Create an {@link Log} instance.

* * @param logClass Usually an interface that defines logging messages and methods. * @param category The logger category. * * @return */ public static T getLog(Class logClass, String category) { return Logger.getMessageLogger(logClass, category); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy