Class LoggerFactory

java.lang.Object
io.github.connellite.logger.LoggerFactory

public class LoggerFactory extends Object
Creates Logger instances using SLF4J when present, otherwise java.util.logging.
  • Constructor Details

    • LoggerFactory

      public LoggerFactory()
  • Method Details

    • getLogger

      public static Logger getLogger(Class<?> hostClass)
      Logger for hostClass (SLF4J when on the classpath, otherwise JUL).