Module org.jboss.logmanager
Package org.jboss.logmanager.handlers
Enum Class SyslogHandler.SyslogType
- All Implemented Interfaces:
Serializable,Comparable<SyslogHandler.SyslogType>,Constable
- Enclosing class:
SyslogHandler
The syslog type used for formatting the message.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Formats the message according the the RFC-5424 specification (http://tools.ietf.org/html/rfc5424#section-6 -
Method Summary
Modifier and TypeMethodDescriptionstatic SyslogHandler.SyslogTypeReturns the enum constant of this class with the specified name.static SyslogHandler.SyslogType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RFC5424
Formats the message according the the RFC-5424 specification (http://tools.ietf.org/html/rfc5424#section-6 -
RFC3164
Deprecated.Formats the message according the the RFC-3164 specification (http://tools.ietf.org/html/rfc3164#section-4.1Obsoleted by the
RFC5424
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-