Class SyslogDefs

java.lang.Object
org.pentaho.di.job.entries.syslog.SyslogDefs

public class SyslogDefs extends Object
This defines settings for Syslog.
Since:
05-01-2010
Author:
Samatar
  • Field Details

  • Constructor Details

    • SyslogDefs

      public SyslogDefs()
  • Method Details

    • computeCode

      public static int computeCode(int facility, int priority)
    • getPriority

      public static int getPriority(String priority) throws SyslogException
      Throws:
      SyslogException
    • getFacility

      public static int getFacility(String facility) throws SyslogException
      Throws:
      SyslogException
    • sendMessage

      public static void sendMessage(org.productivity.java.syslog4j.SyslogIF syslog, int priority, String message, boolean addTimestamp, String pattern, boolean addHostName)