org.owasp.esapi.reference
Class JavaLogFactory
java.lang.Object
org.owasp.esapi.reference.JavaLogFactory
- All Implemented Interfaces:
- LogFactory
- public class JavaLogFactory
- extends java.lang.Object
- implements LogFactory
Reference implementation of the LogFactory and Logger interfaces. This implementation uses the Java logging package, and marks each
log message with the currently logged in user and the word "SECURITY" for security related events.
- Since:
- June 1, 2007
- Author:
- Jeff Williams (jeff.williams .at. aspectsecurity.com) Aspect Security
- See Also:
Logger
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaLogFactory
public JavaLogFactory(java.lang.String applicationName)
getLogger
public Logger getLogger(java.lang.Class clazz)
- Specified by:
getLogger in interface LogFactory
getLogger
public Logger getLogger(java.lang.String name)
- Specified by:
getLogger in interface LogFactory