Enum LoggingOptions.LogLevel

java.lang.Object
java.lang.Enum<LoggingOptions.LogLevel>
com.auth0.client.LoggingOptions.LogLevel
All Implemented Interfaces:
Serializable, Comparable<LoggingOptions.LogLevel>
Enclosing class:
LoggingOptions

public static enum LoggingOptions.LogLevel extends Enum<LoggingOptions.LogLevel>
  • Enum Constant Details

    • NONE

      public static final LoggingOptions.LogLevel NONE
      No logging.
    • BASIC

      public static final LoggingOptions.LogLevel BASIC
      Logs request and response lines.
    • HEADERS

      public static final LoggingOptions.LogLevel HEADERS
      Logs request and response lines, along with their respective headers. Note that headers may contain sensitive information; see LoggingOptions.headersToRedact
    • BODY

      public static final LoggingOptions.LogLevel BODY
      Logs request and response lines, along with their respective headers and bodies. Note that headers and bodies may contain sensitive information; see LoggingOptions.headersToRedact for header redaction, but that only applies to headers. This should only be used in controlled or non-production environments.
  • Method Details

    • values

      public static LoggingOptions.LogLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LoggingOptions.LogLevel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null