Package de.galan.commons.logging
Class Logr
- java.lang.Object
-
- de.galan.commons.logging.Logr
-
public class Logr extends Object
Returns the Log4j2 logger for the calling class (for Slf4j use Slogr). Can be used to determine the Logger, reduces errors when copy&paste.
Note: Compareable to Log4j2 LogManager.getLogger();
-
-
Constructor Summary
Constructors Constructor Description Logr()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.logging.log4j.Loggerget()To be used to get the Log4j2 Logger in a class, eg.
-