Package ej.hoka.log

Class LoggerFactory


  • public class LoggerFactory
    extends java.lang.Object
    Factory class for the logger.
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggerFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Logger getLogger()
      You can set a logger implementation using the system property hoka.logger.class If the system property if not set or the class from hoka.logger.class is not found or can't be accessed or instantiated.
      • 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()
        You can set a logger implementation using the system property hoka.logger.class If the system property if not set or the class from hoka.logger.class is not found or can't be accessed or instantiated. an instance of SimpleLogger is returned with log to the standard output.
        Returns:
        logger instance of configured logger.