Enum Class SyslogCategory

java.lang.Object
java.lang.Enum<SyslogCategory>
org.openremote.model.syslog.SyslogCategory
All Implemented Interfaces:
Serializable, Comparable<SyslogCategory>, Constable

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

  • Field Details

    • categoryLabel

      protected final String categoryLabel
    • includeSubCategory

      protected final boolean includeSubCategory
    • mappedLoggerNames

      protected final String[] mappedLoggerNames
  • Method Details

    • values

      public static SyslogCategory[] 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 SyslogCategory 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
    • getLoggerName

      protected String getLoggerName(LogRecord logRecord)
    • getSubCategory

      protected String getSubCategory(String loggerName)
    • mapSyslogEvent

      public static SyslogEvent mapSyslogEvent(LogRecord record)
    • getLogger

      public static Logger getLogger(SyslogCategory category, Class<?> loggerName)
    • getLogger

      public static Logger getLogger(SyslogCategory category, String loggerName)