Package com.scriptbasic.log
Class LoggerFactory
java.lang.Object
com.scriptbasic.log.LoggerFactory
public class LoggerFactory
extends java.lang.Object
- Author:
- Peter Verhas date Aug 7, 2012
-
Constructor Summary
Constructors Constructor Description LoggerFactory() -
Method Summary
Modifier and Type Method Description static LoggergetBasicLogger()static LoggergetLogger()Get the logger that has the name which is the same as the name of the class where the logger is used.
-
Constructor Details
-
LoggerFactory
public LoggerFactory()
-
-
Method Details
-
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
-