org.owasp.esapi
Class Logger.EventType
java.lang.Object
org.owasp.esapi.Logger.EventType
- Enclosing interface:
- Logger
public static class Logger.EventType
- extends java.lang.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(java.lang.String name,
java.lang.Boolean newSuccess)
|
Method Summary |
java.lang.Boolean |
isSuccess()
|
java.lang.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 |
Logger.EventType
public Logger.EventType(java.lang.String name,
java.lang.Boolean newSuccess)
isSuccess
public java.lang.Boolean isSuccess()
toString
public java.lang.String toString()
- Convert the
EventType
to a string.
- Overrides:
toString
in class java.lang.Object
- Returns:
- The event type name.
Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.