Enum Class Log.Level

java.lang.Object
java.lang.Enum<Log.Level>
me.zhyd.oauth.log.Log.Level
All Implemented Interfaces:
Serializable, Comparable<Log.Level>, Constable
Enclosing class:
Log

public static enum Log.Level extends Enum<Log.Level>
日志级别
Since:
1.10.0
Author:
yadong.zhang (yadong.zhang0415(a)gmail.com)
  • Enum Constant Details

    • DEBUG

      public static final Log.Level DEBUG
      DEBUG: 普通级别
    • WARN

      public static final Log.Level WARN
      WARN: 警告级别
    • ERROR

      public static final Log.Level ERROR
      ERROR: 异常级别
  • Method Details

    • values

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

      public static Log.Level valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null