Interface ILogFactory
- All Known Implementing Classes:
DefaultLogFactory
,NopLogFactory
,Slf4jFactory
public interface ILogFactory
Interface for creating a 'custom' logfactory.
When one is implementing the ILogFactory activation can be done by defining the JVM definition:
-Daquima-log-factory=mpkg.MyLogFactory.
Another method is calling the static method LogFactory.registerImplementation( new MyLogFactory() );
- Since:
- 5.0
- Author:
- F. van der Meer
-
Method Summary
-
Method Details
-
getLogger
Retrieves a logger for a name, mostly used for stdout adapters and jsps or aspx pages.- Parameters:
name
- the name of the logger.- Returns:
- Logger object which should never return null.
-
getLogger
Retrieves a logger for a name, mostly used for std:out adapters and jsps or aspx pages.- Parameters:
classobject
- The class which is tied to this logger.- Returns:
- Logger object which should never return null.
-