Enum Class LoggingService.Level

java.lang.Object
java.lang.Enum<LoggingService.Level>
net.solarnetwork.node.service.LoggingService.Level
All Implemented Interfaces:
Serializable, Comparable<LoggingService.Level>, Constable
Enclosing interface:
LoggingService

public static enum LoggingService.Level extends Enum<LoggingService.Level>
Standard enumeration of supported logging levels, or verbosity.
  • Enum Constant Details

    • INHERIT

      public static final LoggingService.Level INHERIT
      Inherit the level of a "parent" logger.
    • TRACE

      public static final LoggingService.Level TRACE
      The highest level of verbosity for tracing messages.
    • DEBUG

      public static final LoggingService.Level DEBUG
      The 2nd highest level of verbosity for debugging messages.
    • INFO

      public static final LoggingService.Level INFO
      A "default" level of verbosity for informational messages.
    • WARN

      public static final LoggingService.Level WARN
      The 2nd most urgent level of verbosity for potential problems.
    • ERROR

      public static final LoggingService.Level ERROR
      The most urgent level of verbosity for error conditions.
    • OFF

      public static final LoggingService.Level OFF
      No logging at all.
  • Method Details

    • values

      public static LoggingService.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 LoggingService.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
    • forName

      public static final LoggingService.Level forName(String name)
      Get a level for a case-insensitive level name.
      Parameters:
      name - the name of the level to get
      Returns:
      the level
      Throws:
      IllegalArgumentException - if name is not valid