Package dev.morphia.logging.jdk
Class JDKLoggerFactory
- java.lang.Object
-
- dev.morphia.logging.jdk.JDKLoggerFactory
-
- All Implemented Interfaces:
LoggerFactory
public class JDKLoggerFactory extends java.lang.Object implements LoggerFactory
A logger factory using the JDK's logging.
-
-
Constructor Summary
Constructors Constructor Description JDKLoggerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Logger
get(java.lang.Class<?> c)
Gets or creates a Logger for the given class.
-
-
-
Method Detail
-
get
public Logger get(java.lang.Class<?> c)
Description copied from interface:LoggerFactory
Gets or creates a Logger for the given class.- Specified by:
get
in interfaceLoggerFactory
- Parameters:
c
- the class to use for naming- Returns:
- the Logger
-
-