public static enum SyslogHandler.SyslogType extends Enum<SyslogHandler.SyslogType>
Enum Constant and Description |
---|
RFC3164
Formats the message according the the RFC-3164 specification (http://tools.ietf.org/html/rfc3164#section-4.1
|
RFC5424
Formats the message according the the RFC-5424 specification (http://tools.ietf.org/html/rfc5424#section-6
|
Modifier and Type | Method and Description |
---|---|
static SyslogHandler.SyslogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyslogHandler.SyslogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyslogHandler.SyslogType RFC5424
public static final SyslogHandler.SyslogType RFC3164
public static SyslogHandler.SyslogType[] values()
for (SyslogHandler.SyslogType c : SyslogHandler.SyslogType.values()) System.out.println(c);
public static SyslogHandler.SyslogType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 JBoss by Red Hat. All rights reserved.