
com.att.aft.dme2.logging.LoggerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dme2-api Show documentation
Show all versions of dme2-api Show documentation
Direct Messaging Engine dme2-api
The newest version!
package com.att.aft.dme2.logging;
/**
* LoggerFactory for DME logger
*/
public class LoggerFactory {
private LoggerFactory() {
}
/**
* Retrieve a logger
*
* @param clazz Class to associate with logger
* @return Logger
*/
public static Logger getLogger( Class clazz ) {
Logger logger = LoggerFactory.getLogger( clazz.getName() );
return logger;
}
/**
* Retrieve a logger
*
* @param name Logger name (usually class of caller)
* @return logger
*/
public static Logger getLogger( String name ) {
return new Logger( name );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy