Package ej.hoka.log

Class LoggerFactory


  • public class LoggerFactory
    extends Object
    Factory class for the logger.
    • 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.