Package com.thebuzzmedia.exiftool.logs
Class LoggerFactory
- java.lang.Object
-
- com.thebuzzmedia.exiftool.logs.LoggerFactory
-
public final class LoggerFactory extends Object
Factory to use to createLogger
instances.
Appropriate implementation will be used depending on classpath. Verification is done in the following order:- Check from
LoggerProvider
registered using Java Service Provider Interface (seeServiceLoader
). - If slf4j is defined, then it will be used.
- If slf4j is defined, then it will be used.
- If log4j is defined, it will be used.
- Finally, instance of
DefaultLogger
is used.
- Check from
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Logger
getLogger(Class<?> klass)
Return a logger named corresponding to the class passed as parameter,
-