Interface LoggerFactory

  • All Known Subinterfaces:
    LogrFactory
    All Known Implementing Classes:
    JDKLoggerFactory

    public interface LoggerFactory
    A 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 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