Enum Class Logger.LogLevel

java.lang.Object
java.lang.Enum<Logger.LogLevel>
de.espirit.common.base.Logger.LogLevel
All Implemented Interfaces:
Serializable, Comparable<Logger.LogLevel>, java.lang.constant.Constable
Enclosing interface:
Logger

public static enum Logger.LogLevel extends Enum<Logger.LogLevel>
A LogLevel is used to describe the severity of an event that is being logged.
Since:
4.2.38
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Fine-grained information that is needed to debug the application.
    Information about an error in the application that is possibly recoverable.
    Information about a severe error in the application that will prevent it from continuing.
    More coarse-grained general information.
    Fine-grained general information, most often used to record the application flow.
    Information about an event in the application that could possibly lead to an error.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • TRACE

      public static final Logger.LogLevel TRACE
      Fine-grained general information, most often used to record the application flow.
      Since:
      4.2.38
    • DEBUG

      public static final Logger.LogLevel DEBUG
      Fine-grained information that is needed to debug the application.
      Since:
      4.2.38
    • INFO

      public static final Logger.LogLevel INFO
      More coarse-grained general information.
      Since:
      4.2.38
    • WARN

      public static final Logger.LogLevel WARN
      Information about an event in the application that could possibly lead to an error.
      Since:
      4.2.38
    • ERROR

      public static final Logger.LogLevel ERROR
      Information about an error in the application that is possibly recoverable.
      Since:
      4.2.38
    • FATAL

      public static final Logger.LogLevel FATAL
      Information about a severe error in the application that will prevent it from continuing.
      Since:
      4.2.38
  • Method Details

    • values

      public static Logger.LogLevel[] 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 Logger.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.)
      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