Enum LogLevel

java.lang.Object
java.lang.Enum<LogLevel>
org.glassfish.pfl.basic.logex.LogLevel
All Implemented Interfaces:
Serializable, Comparable<LogLevel>, java.lang.constant.Constable

public enum LogLevel extends Enum<LogLevel>
Enum corresponding to java.util.logging.Level that can be used in annotations.
  • Enum Constant Details

    • CONFIG

      public static final LogLevel CONFIG
    • FINE

      public static final LogLevel FINE
    • FINER

      public static final LogLevel FINER
    • FINEST

      public static final LogLevel FINEST
    • INFO

      public static final LogLevel INFO
    • SEVERE

      public static final LogLevel SEVERE
    • WARNING

      public static final LogLevel WARNING
  • Constructor Details

    • LogLevel

      private LogLevel()
  • Method Details

    • values

      public static 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 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
    • getLevel

      public abstract Level getLevel()