Package ej.hoka.log
Class LoggerFactory
- java.lang.Object
-
- ej.hoka.log.LoggerFactory
-
public class LoggerFactory extends java.lang.ObjectFactory class for the logger.
-
-
Constructor Summary
Constructors Constructor Description LoggerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoggergetLogger()You can set a logger implementation using the system propertyhoka.logger.classIf the system property if not set or the class fromhoka.logger.classis not found or can't be accessed or instantiated.
-
-
-
Method Detail
-
getLogger
public static Logger getLogger()
You can set a logger implementation using the system propertyhoka.logger.classIf the system property if not set or the class fromhoka.logger.classis not found or can't be accessed or instantiated. an instance ofSimpleLoggeris returned with log to the standard output.- Returns:
- logger instance of configured logger.
-
-