Package dev.morphia.logging
Interface LoggerFactory
-
- All Known Subinterfaces:
LogrFactory
- All Known Implementing Classes:
JDKLoggerFactory
public interface LoggerFactoryA generic logger factory interface used internally by Morphia. At runtime the actual implementation used is chosen to match which logging framework (e.g., java.util.logging vs slf4j) is used in the application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Loggerget(java.lang.Class<?> c)Gets or creates a Logger for the given class.
-
-
-
Method Detail
-
get
Logger get(java.lang.Class<?> c)
Gets or creates a Logger for the given class.- Parameters:
c- the class to use for naming- Returns:
- the Logger
-
-