![JAR search and dependency download from the Maven repository](/logo.png)
net.jmatrix.db.common.ClassLogFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsql Show documentation
Show all versions of jsql Show documentation
SQL Utilities including simple command line, schema management.
The newest version!
package net.jmatrix.db.common;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/** */
public class ClassLogFactory {
/** */
public static final Logger getLog() {
String callingClassname=DebugUtils.getCallingClassName(1);
Logger log=LoggerFactory.getLogger(callingClassname);
return log;
}
public static final Logger getLog(int i) {
String callingClassname=DebugUtils.getCallingClassName(1+i);
Logger log=LoggerFactory.getLogger(callingClassname);
return log;
}
public static final Logger getLog(String calledClassName) {
String callingClassname=DebugUtils.getCallingClassName(calledClassName);
Logger log=LoggerFactory.getLogger(callingClassname);
return log;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy