Class SimpleLoggerFactory

java.lang.Object
org.slf4j.impl.SimpleLoggerFactory
All Implemented Interfaces:
ILoggerFactory

public class SimpleLoggerFactory extends Object implements ILoggerFactory
An implementation of ILoggerFactory which always returns SimpleLogger instances.
  • Field Details

  • Constructor Details

    • SimpleLoggerFactory

      public SimpleLoggerFactory()
  • Method Details

    • getLogger

      public Logger getLogger(String name)
      Return an appropriate SimpleLogger instance by name.
      Specified by:
      getLogger in interface ILoggerFactory
      Parameters:
      name - the name of the Logger to return
      Returns:
      a Logger instance
    • reset

      void reset()
      Clear the internal logger cache. This method is intended to be called by classes (in the same package) for testing purposes. This method is internal. It can be modified, renamed or removed at any time without notice. You are strongly discouraged from calling this method in production code.