org.pentaho.di.job.entries.syslog
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
DEFAULT_PROTOCOL_UDP
public static final String DEFAULT_PROTOCOL_UDP
- See Also:
- Constant Field Values
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
DEFAULT_DATE_FORMAT
public static final String DEFAULT_DATE_FORMAT
- See Also:
- Constant Field Values
FACILITYS
public static final String[] FACILITYS
PRIORITYS
public static final String[] PRIORITYS
SyslogDefs
public SyslogDefs()
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)