Enum Slf4jChannel

java.lang.Object
java.lang.Enum<Slf4jChannel>
com.reposilite.journalist.slf4j.Slf4jChannel
All Implemented Interfaces:
Serializable, Comparable<Slf4jChannel>, java.lang.constant.Constable

public enum Slf4jChannel extends Enum<Slf4jChannel>
  • Enum Constant Details

  • Method Details

    • values

      public static Slf4jChannel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Slf4jChannel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getLevel

      public org.slf4j.event.Level getLevel()
    • getChannel

      public com.reposilite.journalist.Channel getChannel()
    • of

      public static Slf4jChannel of(com.reposilite.journalist.Channel channel)
    • of

      public static Slf4jChannel of(org.slf4j.event.Level level)