Class LoggerFactory


  • public class LoggerFactory
    extends java.lang.Object
    Author:
    Peter Verhas date Aug 7, 2012
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggerFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Logger getBasicLogger()  
      static Logger getLogger()
      Get the logger that has the name which is the same as the name of the class where the logger is used.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoggerFactory

        public LoggerFactory()
    • Method Detail

      • getLogger

        public static Logger getLogger()
        Get the logger that has the name which is the same as the name of the class where the logger is used.

        Loggers are usually stored in static fields.

        Returns:
        the logger instance.
      • getBasicLogger

        public static Logger getBasicLogger()