|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogFactory
The LogFactory interface is intended to allow substitution of various logging packages, while providing a common interface to access them. In the reference implementation, JavaLogFactory.java implements this interface. JavaLogFactory.java also contains an inner class called JavaLogger which implements Logger.java and uses the Java logging package to log events.
ESAPI
Method Summary | |
---|---|
Logger |
getLogger(java.lang.Class clazz)
Gets the logger associated with the specified class. |
Logger |
getLogger(java.lang.String moduleName)
Gets the logger associated with the specified module name. |
Method Detail |
---|
Logger getLogger(java.lang.String moduleName)
moduleName
- The name of the module requesting the logger.
Logger getLogger(java.lang.Class clazz)
clazz
- The name of the class requesting the logger.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |