Package | Description |
---|---|
org.jboss.logmanager.handlers |
Modifier and Type | Field | Description |
---|---|---|
static SyslogHandler.Facility |
SyslogHandler.DEFAULT_FACILITY |
Modifier and Type | Method | Description |
---|---|---|
SyslogHandler.Facility |
SyslogHandler.getFacility() |
Returns the facility used for calculating the priority of the message.
|
static SyslogHandler.Facility |
SyslogHandler.Facility.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SyslogHandler.Facility[] |
SyslogHandler.Facility.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
protected int |
SyslogHandler.calculatePriority(Level level,
SyslogHandler.Facility facility) |
|
void |
SyslogHandler.setFacility(SyslogHandler.Facility facility) |
Sets the facility used when calculating the priority of the message.
|
Constructor | Description |
---|---|
SyslogHandler(String serverHostname,
int port,
SyslogHandler.Facility facility,
String hostname) |
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
SyslogHandler(String serverHostname,
int port,
SyslogHandler.Facility facility,
SyslogHandler.SyslogType syslogType,
String hostname) |
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
SyslogHandler(String serverHostname,
int port,
SyslogHandler.Facility facility,
SyslogHandler.SyslogType syslogType,
SyslogHandler.Protocol protocol,
String hostname) |
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
SyslogHandler(InetAddress serverAddress,
int port,
SyslogHandler.Facility facility,
String hostname) |
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
SyslogHandler(InetAddress serverAddress,
int port,
SyslogHandler.Facility facility,
SyslogHandler.SyslogType syslogType,
String hostname) |
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
SyslogHandler(InetAddress serverAddress,
int port,
SyslogHandler.Facility facility,
SyslogHandler.SyslogType syslogType,
SyslogHandler.Protocol protocol,
String hostname) |
Creates a new syslog handler that sends the messages to the server represented by the
serverAddress
parameter on the port represented by the port parameter. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.