public class LogentriesAppender
extends org.apache.log4j.AppenderSkeleton
| Constructor and Description |
|---|
LogentriesAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(org.apache.log4j.spi.LoggingEvent event)
Implements AppenderSkeleton Append method, handles time and format
|
void |
close()
Closes all connections to Logentries
|
boolean |
requiresLayout() |
void |
setDebug(boolean debug)
Sets the debug flag.
|
void |
setHttpPut(boolean HttpPut)
Sets the HTTP PUT boolean flag.
|
void |
setKey(java.lang.String account_key)
Sets the ACCOUNT KEY value for HTTP PUT
|
void |
setLocation(java.lang.String log_location)
Sets the LOCATION value for HTTP PUT
|
void |
setSsl(boolean ssl)
Sets the SSL boolean flag
|
void |
setToken(java.lang.String token)
Sets the token
|
public void setToken(java.lang.String token)
token - public void setHttpPut(boolean HttpPut)
httpput - HttpPut flag to setpublic void setKey(java.lang.String account_key)
account_key - public void setLocation(java.lang.String log_location)
log_location - public void setSsl(boolean ssl)
ssl - public void setDebug(boolean debug)
debug - debug flag to setprotected void append(org.apache.log4j.spi.LoggingEvent event)
append in class org.apache.log4j.AppenderSkeletonpublic void close()
public boolean requiresLayout()
Copyright © 2014. All Rights Reserved.