Class 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

      Constructors 
      Constructor Description
      EventType​(java.lang.String name, java.lang.Boolean newSuccess)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • EventType

        public EventType​(java.lang.String name,
                         java.lang.Boolean newSuccess)
    • Method Detail

      • 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.