Class LoggerFactory

java.lang.Object
org.sqlite.util.LoggerFactory

public class LoggerFactory extends Object
A factory for Logger instances that uses SLF4J if present, falling back on a java.util.logging implementation otherwise.
  • Constructor Details

    • LoggerFactory

      public LoggerFactory()
  • Method Details

    • getLogger

      public static Logger getLogger(Class<?> hostClass)
      Get a Logger instance for the given host class.
      Parameters:
      hostClass - the host class from which log messages will be issued
      Returns:
      a Logger