org.owasp.esapi.reference
Class ExampleExtendedLog4JLogFactory.ExampleExtendedLog4JLogger

java.lang.Object
  extended by org.owasp.esapi.reference.Log4JLogFactory.Log4JLogger
      extended by org.owasp.esapi.reference.ExampleExtendedLog4JLogFactory.ExampleExtendedLog4JLogger
All Implemented Interfaces:
Logger
Enclosing class:
ExampleExtendedLog4JLogFactory

protected static class ExampleExtendedLog4JLogFactory.ExampleExtendedLog4JLogger
extends Log4JLogFactory.Log4JLogger


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.owasp.esapi.Logger
Logger.EventType
 
Field Summary
 
Fields inherited from interface org.owasp.esapi.Logger
ALL, DEBUG, ERROR, EVENT_FAILURE, EVENT_SUCCESS, FATAL, INFO, OFF, SECURITY_FAILURE, SECURITY_SUCCESS, TRACE, WARNING
 
Constructor Summary
protected ExampleExtendedLog4JLogFactory.ExampleExtendedLog4JLogger(java.lang.String moduleName)
           
 
Method Summary
 java.lang.String getUserInfo()
          Please replace this function with your own.
 
Methods inherited from class org.owasp.esapi.reference.Log4JLogFactory.Log4JLogger
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarningEnabled, setLevel, trace, trace, warning, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleExtendedLog4JLogFactory.ExampleExtendedLog4JLogger

protected ExampleExtendedLog4JLogFactory.ExampleExtendedLog4JLogger(java.lang.String moduleName)
Method Detail

getUserInfo

public java.lang.String getUserInfo()
Please replace this function with your own. The reference implementation includes the users account name, last host address, and a secure replacement for the session id.

Overrides:
getUserInfo in class Log4JLogFactory.Log4JLogger


Copyright © 2010 The Open Web Application Security Project (OWASP). All Rights Reserved.