org.hibernate.search.util
public class: LoggerFactory [javadoc |
source]
java.lang.Object
org.hibernate.search.util.LoggerFactory
A factory class for class loggers. Allows a creation of loggers after the DRY principle.
- author:
Hardy - Ferentschik
| Method from org.hibernate.search.util.LoggerFactory Summary: |
|---|
|
make |
| Method from org.hibernate.search.util.LoggerFactory Detail: |
public static Logger make() {
Throwable t = new Throwable();
StackTraceElement directCaller = t.getStackTrace()[1];
return org.slf4j.LoggerFactory.getLogger( directCaller.getClassName() );
}
|