Enum Class LogLevel

java.lang.Object
java.lang.Enum<LogLevel>
jp.co.asterisk.asreader.utility.LogLevel
すべての実装されたインタフェース:
Serializable, Comparable<LogLevel>, Constable

public enum LogLevel extends Enum<LogLevel>
Enum related to log level.
  • 列挙型定数の詳細

    • Fatal

      public static final LogLevel Fatal
      Fatal
    • Error

      public static final LogLevel Error
      Error
    • Warning

      public static final LogLevel Warning
      Warning
    • Information

      public static final LogLevel Information
      Information
    • Debug

      public static final LogLevel Debug
      Debug
  • メソッドの詳細

    • values

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

      public static LogLevel 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.)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 引数がnullの場合
    • getCode

      public int getCode()
      Gets Log level.
      戻り値:
      Log level.
    • getName

      public String getName()
      Gets command name.
      戻り値:
      command name.