public class SyslogAuditLogger extends AuditLogger
/src/main/resources/hudson/plugins/audit_trail/SyslogAuditLogger/config.jelly| Modifier and Type | Class and Description |
|---|---|
static class |
SyslogAuditLogger.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_APP_NAME |
static com.cloudbees.syslog.Facility |
DEFAULT_FACILITY |
static com.cloudbees.syslog.MessageFormat |
DEFAULT_MESSAGE_FORMAT |
static int |
DEFAULT_SYSLOG_SERVER_PORT |
protected static Logger |
LOGGER |
| Constructor and Description |
|---|
SyslogAuditLogger(String syslogServerHostname,
int syslogServerPort,
String appName,
String messageHostname,
String facility,
String messageFormat) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
defaultValue(T value,
T defaultValue) |
boolean |
equals(Object o) |
String |
getAppName() |
String |
getDisplayName() |
String |
getFacility() |
String |
getMessageFormat() |
String |
getMessageHostname() |
String |
getNetworkProtocol() |
String |
getSyslogServerHostname() |
int |
getSyslogServerPort() |
int |
hashCode() |
void |
log(String event) |
String |
toString() |
static String |
trimToNull(String value) |
all, cleanUp, getDescriptorpublic static final int DEFAULT_SYSLOG_SERVER_PORT
public static final String DEFAULT_APP_NAME
public static final com.cloudbees.syslog.Facility DEFAULT_FACILITY
public static final com.cloudbees.syslog.MessageFormat DEFAULT_MESSAGE_FORMAT
protected static final Logger LOGGER
public void log(String event)
log in class AuditLoggerpublic String getDisplayName()
public String getSyslogServerHostname()
public int getSyslogServerPort()
public String getAppName()
public String getMessageHostname()
public String getFacility()
public String getMessageFormat()
public String getNetworkProtocol()
@Nullable public static <T> T defaultValue(T value, T defaultValue)
Copyright © 2016–2021. All rights reserved.