Interface LoggerFactory

All Known Implementing Classes:
AccumulatingLoggerFactory, SystemOutLoggerFactory

public interface LoggerFactory
A simple interface used by the HTTP server/client instances to create loggers. This removes any coupling between the HTTP server and specific logging frameworks like JUL or SLF4J. Mapping between this logger and other frameworks is simple though.
Author:
Brian Pontarelli
  • Method Summary

    Modifier and Type
    Method
    Description
    getLogger(Class<?> klass)
    Get the logger for the given class.
  • Method Details

    • getLogger

      Logger getLogger(Class<?> klass)
      Get the logger for the given class.
      Parameters:
      klass - The class.
      Returns:
      The Logger and never null.