Class NopLogFactory

java.lang.Object
com.aquima.interactions.foundation.logging.NopLogFactory
All Implemented Interfaces:
ILogFactory

public class NopLogFactory extends Object implements ILogFactory
LogFactory implementation that does not do any logging
Since:
8.1
Author:
Jon van Leuven
  • Constructor Details

    • NopLogFactory

      public NopLogFactory()
  • Method Details

    • getLogger

      public Logger getLogger(String name)
      Description copied from interface: ILogFactory
      Retrieves a logger for a name, mostly used for stdout adapters and jsps or aspx pages.
      Specified by:
      getLogger in interface ILogFactory
      Parameters:
      name - the name of the logger.
      Returns:
      Logger object which should never return null.
    • getLogger

      public Logger getLogger(Class<?> classobject)
      Description copied from interface: ILogFactory
      Retrieves a logger for a name, mostly used for std:out adapters and jsps or aspx pages.
      Specified by:
      getLogger in interface ILogFactory
      Parameters:
      classobject - The class which is tied to this logger.
      Returns:
      Logger object which should never return null.