org.owasp.esapi
Class Logger.EventType

java.lang.Object
  extended by org.owasp.esapi.Logger.EventType
Enclosing interface:
Logger

public static class Logger.EventType
extends Object

Defines the type of log event that is being generated. The Logger interface defines 6 types of Log events: SECURITY_SUCCESS, SECURITY_FAILURE, EVENT_SUCCESS, EVENT_FAILURE, EVENT_UNSPECIFIED. Your implementation can extend or change this list if desired.


Constructor Summary
Logger.EventType(String name, Boolean newSuccess)
           
 
Method Summary
 Boolean isSuccess()
           
 String toString()
          Convert the EventType to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Logger.EventType

public Logger.EventType(String name,
                        Boolean newSuccess)
Method Detail

isSuccess

public Boolean isSuccess()

toString

public String toString()
Convert the EventType to a string.

Overrides:
toString in class Object
Returns:
The event type name.


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