|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton org.mondemand.log4j.MonDemandAppender
public class MonDemandAppender
This is a log4j appender that uses the MonDemand API and is configured with the LWES transport.
Field Summary |
---|
Fields inherited from class org.apache.log4j.AppenderSkeleton |
---|
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Constructor Summary | |
---|---|
MonDemandAppender()
|
Method Summary | |
---|---|
void |
activateOptions()
|
protected void |
append(org.apache.log4j.spi.LoggingEvent event)
|
void |
close()
|
String |
getAddress()
Gets the LWES address |
int |
getImmediateSendLevel()
Gets the immediate send level for this appender. |
String |
getInterface()
Gets the LWES network interface |
int |
getPort()
Gets the LWES port |
String |
getProgId()
Gets the program identifier for this appender. |
int |
getTtl()
Gets the LWES network TTL (for multicast) |
boolean |
requiresLayout()
LOG4J HOOKS * |
void |
setAddress(String address)
Sets the LWES address |
void |
setImmediateSendLevel(int level)
Sets the immediate send level for this appender. |
void |
setInterface(String iface)
Sets the LWES network interface |
void |
setPort(int port)
Sets the LWES port |
void |
setProgId(String progId)
Sets the program identifier for this appender. |
void |
setTtl(int ttl)
Sets the LWES network TTL (for multicast) |
Methods inherited from class org.apache.log4j.AppenderSkeleton |
---|
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonDemandAppender()
Method Detail |
---|
public void setProgId(String progId)
progId
- the program identifierpublic String getProgId()
public void setImmediateSendLevel(int level)
level
- the log level to send messages immediatelypublic int getImmediateSendLevel()
public void setAddress(String address)
address
- the address to usepublic String getAddress()
public void setPort(int port)
port
- the port to usepublic int getPort()
public void setInterface(String iface)
iface
- the interface to usepublic String getInterface()
public void setTtl(int ttl)
ttl
- the TTL to usepublic int getTtl()
public boolean requiresLayout()
public void close()
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
activateOptions
in class org.apache.log4j.AppenderSkeleton
protected void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.AppenderSkeleton
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |