Class SyslogAuditLogger

    • Field Detail

      • DEFAULT_SYSLOG_SERVER_PORT

        public static final int DEFAULT_SYSLOG_SERVER_PORT
        See Also:
        Constant Field Values
      • DEFAULT_FACILITY

        public static final com.cloudbees.syslog.Facility DEFAULT_FACILITY
      • DEFAULT_MESSAGE_FORMAT

        public static final com.cloudbees.syslog.MessageFormat DEFAULT_MESSAGE_FORMAT
      • LOGGER

        protected static final Logger LOGGER
    • Constructor Detail

      • SyslogAuditLogger

        @DataBoundConstructor
        public SyslogAuditLogger​(String syslogServerHostname,
                                 int syslogServerPort,
                                 String appName,
                                 String messageHostname,
                                 String facility,
                                 String messageFormat)
    • Method Detail

      • getDisplayName

        public String getDisplayName()
      • getSyslogServerHostname

        public String getSyslogServerHostname()
      • getSyslogServerPort

        public int getSyslogServerPort()
      • getAppName

        public String getAppName()
      • getMessageHostname

        public String getMessageHostname()
      • getFacility

        public String getFacility()
      • getMessageFormat

        public String getMessageFormat()
      • getNetworkProtocol

        public String getNetworkProtocol()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • trimToNull

        @Nullable
        public static String trimToNull​(String value)
      • defaultValue

        @Nullable
        public static <T> T defaultValue​(T value,
                                         T defaultValue)