Class DefaultLogFactory

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

public class DefaultLogFactory extends Object implements ILogFactory
This is the standard log factory wich results in only logging to standard out, for overriding this one can call the static method LogFactory.registerLogFactory or add the JVM option as described in the LogFactory class.
Since:
5.0
Author:
F. van der Meer
  • Constructor Details

    • DefaultLogFactory

      public DefaultLogFactory()
  • 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.