public static enum SysLogProxy.SyslogFacility extends Enum<SysLogProxy.SyslogFacility>
Enum Constant and Description |
---|
FTP |
KERNEL |
LOCAL_USER_0 |
LOG_ALERT |
LOG_AUDIT |
MAIL |
SECURITY_AUTHORIZATION |
SECURITY_AUTHORIZATION_2 |
SYSTEM_DAEMONS |
USER_LEVEL |
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
static SysLogProxy.SyslogFacility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SysLogProxy.SyslogFacility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SysLogProxy.SyslogFacility KERNEL
public static final SysLogProxy.SyslogFacility USER_LEVEL
public static final SysLogProxy.SyslogFacility MAIL
public static final SysLogProxy.SyslogFacility SYSTEM_DAEMONS
public static final SysLogProxy.SyslogFacility SECURITY_AUTHORIZATION
public static final SysLogProxy.SyslogFacility SECURITY_AUTHORIZATION_2
public static final SysLogProxy.SyslogFacility FTP
public static final SysLogProxy.SyslogFacility LOG_AUDIT
public static final SysLogProxy.SyslogFacility LOG_ALERT
public static final SysLogProxy.SyslogFacility LOCAL_USER_0
public static SysLogProxy.SyslogFacility[] values()
for (SysLogProxy.SyslogFacility c : SysLogProxy.SyslogFacility.values()) System.out.println(c);
public static SysLogProxy.SyslogFacility 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 nullpublic int getLevel()
Copyright © 2018. All rights reserved.