Enum Class VitamLogLevel

java.lang.Object
java.lang.Enum<VitamLogLevel>
fr.gouv.vitam.common.logging.VitamLogLevel
All Implemented Interfaces:
Serializable, Comparable<VitamLogLevel>, Constable

public enum VitamLogLevel extends Enum<VitamLogLevel>
The log level that VitamLogger can log at.
  • Enum Constant Details

    • TRACE

      public static final VitamLogLevel TRACE
      'TRACE' log level.
    • DEBUG

      public static final VitamLogLevel DEBUG
      'DEBUG' log level.
    • INFO

      public static final VitamLogLevel INFO
      'INFO' log level.
    • WARN

      public static final VitamLogLevel WARN
      'WARN' log level.
    • ERROR

      public static final VitamLogLevel ERROR
      'ERROR' log level.
  • Method Details

    • values

      public static VitamLogLevel[] 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 VitamLogLevel 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