org.nohope.logging.EnhancedLoggerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slf4j-logging Show documentation
Show all versions of slf4j-logging Show documentation
Wrapper for slf4j logger with extended formatting abilities.
package org.nohope.logging;
/**
* @author ketoth xupack
* @since 8/22/12 4:37 PM
*/
final class EnhancedLoggerFactory implements ILoggerFactory {
private final org.slf4j.ILoggerFactory factory;
EnhancedLoggerFactory(final org.slf4j.ILoggerFactory factory) {
this.factory = factory;
}
@Override
public Logger getLogger(final String name) {
return new EnhancedLogger(factory.getLogger(name));
}
}