public class Syslog extends Resource
Resource.Builder| Modifier and Type | Field and Description |
|---|---|
protected String |
appHostname |
protected String |
appName |
protected String |
facility |
protected String |
hostname |
protected int |
port |
static List<String> |
TYPES |
NAME_DESCRIPTOR, TYPE_DESCRIPTOR| Modifier and Type | Method and Description |
|---|---|
String |
getAppHostname(Environment environment)
Application hostname
|
String |
getAppName(Environment environment)
Application name
|
String |
getFacility()
Syslog facility
|
String |
getHostname()
Hostname of the syslog server
|
int |
getPort()
Port of the syslog server
|
filterProperties, getDescriptor, getDescriptors, getName, getProperties, getProperty, getProperty, getTypeprotected String hostname
protected int port
protected String facility
protected String appName
protected String appHostname
public Syslog(Resource resource)
public String getHostname()
public int getPort()
public String getFacility()
public String getAppName(Environment environment)
public String getAppHostname(Environment environment)
Copyright © 2013–2014. All rights reserved.