- java.lang.Object
-
- nl.altindag.sude.LoggerFactory
-
public class LoggerFactory extends Object
TheLoggerFactorywill construct an instance ofLoggerwhich will be a wrapper containing the actual Logger. The wrapper logger will be created based on the available classes on the classpath. If SLF4J API is present it will construct a wrapper Logger with SLF4J Logger wrapped in it or else it will try Log4j2 and if that is not available at runtime it will fall back to java-util-logging logger.- Author:
- Hakan Altindag
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> LoggergetLogger(Class<T> clazz)static LoggergetLogger(String name)
-