Package org.slf4j.simple
Class SimpleLoggerFactory
java.lang.Object
org.slf4j.simple.SimpleLoggerFactory
- All Implemented Interfaces:
- ILoggerFactory
An implementation of 
ILoggerFactory which always returns
 SimpleLogger instances.- Author:
- Ceki Gülcü
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected LoggercreateLogger(String name) Actually creates the logger for the given name.Return an appropriateSimpleLoggerinstance by name.protected voidreset()Clear the internal logger cache.
- 
Constructor Details- 
SimpleLoggerFactorypublic SimpleLoggerFactory()
 
- 
- 
Method Details- 
getLoggerReturn an appropriateSimpleLoggerinstance by name. This method will callcreateLogger(String)if the logger has not been created yet.- Specified by:
- getLoggerin interface- ILoggerFactory
- Parameters:
- name- the name of the Logger to return
- Returns:
- a Logger instance
 
- 
createLoggerActually creates the logger for the given name.
- 
resetClear the internal logger cache. This method is intended to be called by classes (in the same package or subclasses) for testing purposes. This method is internal. It can be modified, renamed or removed at any time without notice. You are strongly discouraged from calling this method in production code.
 
-