Enum Class LogLevel

java.lang.Object
java.lang.Enum<LogLevel>
overit.geocall.util.log.LogLevel
All Implemented Interfaces:
Serializable, Comparable<LogLevel>, Constable

@Deprecated public enum LogLevel extends Enum<LogLevel>
Deprecated.
This enum is aimed to guarantee retrocompatibility with the old version of LogLevel class which extended the log4j v1 Level class. For the version 2 of log4j Level class is declared as final so the LogLevel class can be annotated as @Deprecated
  • Enum Constant Details

    • FATAL

      public static final LogLevel FATAL
      Deprecated.
    • OFF

      public static final LogLevel OFF
      Deprecated.
    • ERROR

      public static final LogLevel ERROR
      Deprecated.
    • WARN

      public static final LogLevel WARN
      Deprecated.
    • INFO

      public static final LogLevel INFO
      Deprecated.
    • DEBUG

      public static final LogLevel DEBUG
      Deprecated.
    • TRACE

      public static final LogLevel TRACE
      Deprecated.
    • ALL

      public static final LogLevel ALL
      Deprecated.
  • Method Details

    • values

      public static LogLevel[] values()
      Deprecated.
      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 LogLevel valueOf(String name)
      Deprecated.
      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
    • get

      public Level get()
      Deprecated.